Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002439/0.002439, allocations: 216.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.237/3.237, allocations: 0.49 GB / 0.7951 GB, free: 35.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003013/0.003013, allocations: 63.94 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.404, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003019/0.407, allocations: 1.26 MB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.4095, allocations: 1.576 MB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.4097, allocations: 4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.4098, allocations: 31.55 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.41, allocations: 71.44 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.4113, allocations: 0.5018 MB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.4121, allocations: 0.6443 MB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.4125, allocations: 117.3 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.4128, allocations: 255.4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.4132, allocations: 255 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.4133, allocations: 64 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.4134, allocations: 75.98 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.4135, allocations: 83.69 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.4138, allocations: 215.2 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007856/0.4146, allocations: 0.6929 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4146, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4146, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4146, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001389/0.416, allocations: 0.875 MB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.416, allocations: 8.031 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.41e-05/0.4161, allocations: 62.67 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.4162, allocations: 52.69 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.4176, allocations: 409.4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.4176, allocations: 28.88 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-05/0.4177, allocations: 40.38 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/0.4185, allocations: 464.8 kB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4185, allocations: 0 / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.4186, allocations: 8 kB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4186, allocations: 4 kB / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007615/0.4193, allocations: 390.2 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.4212, allocations: 0.7785 MB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.422, allocations: 494.1 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.4226, allocations: 401 kB / 1.335 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.4226, allocations: 4 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007236/0.4233, allocations: 460.2 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 3.386e-06/0.4233, allocations: 0 / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001885/0.4252, allocations: 1.104 MB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.4253, allocations: 195.9 kB / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.4257, allocations: 292.5 kB / 1.337 GB, free: 5.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.993e-05/0.4258, allocations: 41.7 kB / 1.337 GB, free: 5.133 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.426, allocations: 164.9 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4261, allocations: 134.9 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.4263, allocations: 134.1 kB / 1.338 GB, free: 4.699 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4265, allocations: 350.8 kB / 1.338 GB, free: 4.348 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007691/0.4273, allocations: 0.5274 MB / 1.339 GB, free: 3.766 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.4281, allocations: 0.6101 MB / 1.339 GB, free: 3.059 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.4295, allocations: 0.9167 MB / 1.34 GB, free: 2.027 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4295, allocations: 0 / 1.34 GB, free: 2.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002008/0.4315, allocations: 1.263 MB / 1.341 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.4317, allocations: 259.3 kB / 1.342 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.4317, allocations: 0 / 1.342 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.4317, allocations: 8.281 kB / 1.342 GB, free: 340 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.432, allocations: 75.83 kB / 1.342 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.432, allocations: 4 kB / 1.342 GB, free: 260 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/0.4328, allocations: 147.6 kB / 1.342 GB, free: 112 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.4329, allocations: 63.92 kB / 1.342 GB, free: 48 kB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000402/0.4333, allocations: 330.5 kB / 1.342 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.4334, allocations: 35.77 kB / 1.342 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.4335, allocations: 39.48 kB / 1.342 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.4335, allocations: 8 kB / 1.342 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.4335, allocations: 0 / 1.342 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4335, allocations: 3.938 kB / 1.342 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.4356, allocations: 1.273 MB / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4356, allocations: 0 / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.4359, allocations: 67.88 kB / 1.344 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.4359, allocations: 4 kB / 1.344 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.4359, allocations: 8 kB / 1.344 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.4359, allocations: 7.938 kB / 1.344 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4359, allocations: 0 / 1.344 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.4372, allocations: 0.8919 MB / 1.345 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.4373, allocations: 47.62 kB / 1.345 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.4374, allocations: 15.94 kB / 1.345 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4376, allocations: 27.91 kB / 1.345 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.4377, allocations: 39.94 kB / 1.345 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.4378, allocations: 55.88 kB / 1.345 GB, free: 12.97 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002177/0.438, allocations: 195.1 kB / 1.345 GB, free: 12.78 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.438, allocations: 0 / 1.345 GB, free: 12.78 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005291/0.4385, allocations: 111.9 kB / 1.345 GB, free: 12.67 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001833/0.4404, allocations: 1.464 MB / 1.346 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002039/0.4424, allocations: 1.429 MB / 1.348 GB, free: 9.496 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4424, allocations: 0.5625 kB / 1.348 GB, free: 9.496 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007077/0.4431, allocations: 0.6262 MB / 1.348 GB, free: 8.777 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.4437, allocations: 86.03 kB / 1.349 GB, free: 8.695 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008239/0.452, allocations: 5.834 MB / 1.354 GB, free: 2.418 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.4522, allocations: 193 kB / 1.354 GB, free: 2.207 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002781/0.4524, allocations: 95.19 kB / 1.355 GB, free: 2.113 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.4526, allocations: 115.4 kB / 1.355 GB, free: 2 MB / 1.045 GB Notification: Performance of SimCode: time 1.392e-06/0.4526, allocations: 0 / 1.355 GB, free: 2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04369/0.4963, allocations: 11.18 MB / 1.366 GB, free: 7.078 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.99, allocations: 12.45 kB / 1.366 GB, free: 7.07 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.82785308599705]