Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.001445/0.001445, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001498/0.001498, allocations: 217 kB / 23.04 MB, free: 5.074 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.33/1.33, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.917/2.917, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",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.001821/0.001821, allocations: 69.48 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2933, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1964/0.4898, allocations: 180.4 MB / 1.521 GB, free: 11.42 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.5052, allocations: 11.19 MB / 1.532 GB, free: 192 kB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007609/0.506, allocations: 43.62 kB / 1.532 GB, free: 148 kB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.507, allocations: 432.8 kB / 1.533 GB, free: 15.71 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.5096, allocations: 1.136 MB / 1.534 GB, free: 14.58 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.5133, allocations: 1.799 MB / 1.536 GB, free: 12.79 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.5159, allocations: 2.412 MB / 1.538 GB, free: 10.37 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.5174, allocations: 1.124 MB / 1.539 GB, free: 9.203 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.5206, allocations: 1.491 MB / 1.541 GB, free: 7.723 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.5216, allocations: 0.8325 MB / 1.541 GB, free: 6.887 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.5219, allocations: 156 kB / 1.542 GB, free: 6.734 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.5243, allocations: 1.513 MB / 1.543 GB, free: 5.219 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.5247, allocations: 458.6 kB / 1.543 GB, free: 4.77 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008501/0.5256, allocations: 0.793 MB / 1.544 GB, free: 3.973 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.5288, allocations: 2.643 MB / 1.547 GB, free: 1.32 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5288, allocations: 4 kB / 1.547 GB, free: 1.316 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5288, allocations: 0 / 1.547 GB, free: 1.316 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.5288, allocations: 0 / 1.547 GB, free: 1.316 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003207/0.532, allocations: 1.895 MB / 1.549 GB, free: 15.38 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.532, allocations: 8.031 kB / 1.549 GB, free: 15.37 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.731e-05/0.5321, allocations: 30.33 kB / 1.549 GB, free: 15.34 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.5323, allocations: 185.3 kB / 1.549 GB, free: 15.15 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.5348, allocations: 410.5 kB / 1.549 GB, free: 14.75 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.5364, allocations: 0.9201 MB / 1.55 GB, free: 13.79 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.676e-05/0.5364, allocations: 86.33 kB / 1.55 GB, free: 13.71 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.5366, allocations: 120 kB / 1.55 GB, free: 13.59 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.5388, allocations: 1.298 MB / 1.552 GB, free: 12.23 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5388, allocations: 3.984 kB / 1.552 GB, free: 12.22 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5389, allocations: 48 kB / 1.552 GB, free: 12.18 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.539, allocations: 28 kB / 1.552 GB, free: 12.15 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.5414, allocations: 1.457 MB / 1.553 GB, free: 10.68 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.5477, allocations: 4.035 MB / 1.557 GB, free: 6.438 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.5498, allocations: 1.066 MB / 1.558 GB, free: 5.367 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007732/0.5506, allocations: 422.6 kB / 1.559 GB, free: 4.957 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.5511, allocations: 128.8 kB / 1.559 GB, free: 4.832 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.5524, allocations: 0.6567 MB / 1.559 GB, free: 4.152 MB / 1.248 GB Notification: Performance of pre-optimization done (n=106): time 2.274e-06/0.5524, allocations: 0 / 1.559 GB, free: 4.152 MB / 1.248 GB Notification: Performance of matching and sorting (n=106): time 0.003935/0.5563, allocations: 1.535 MB / 1.561 GB, free: 2.613 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5565, allocations: 192.9 kB / 1.561 GB, free: 2.379 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.5576, allocations: 0.9111 MB / 1.562 GB, free: 1.445 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/0.5577, allocations: 49.7 kB / 1.562 GB, free: 1.391 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.5582, allocations: 0.5325 MB / 1.562 GB, free: 0.8516 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.5585, allocations: 368.9 kB / 1.563 GB, free: 500 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.5588, allocations: 194.5 kB / 1.563 GB, free: 300 kB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.559, allocations: 345.9 kB / 1.563 GB, free: 15.95 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.5597, allocations: 361.8 kB / 1.564 GB, free: 15.6 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/0.5606, allocations: 0.4971 MB / 1.564 GB, free: 15.06 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.5622, allocations: 0.8524 MB / 1.565 GB, free: 14.2 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5622, allocations: 0 / 1.565 GB, free: 14.2 MB / 1.264 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002434/0.5646, allocations: 1.126 MB / 1.566 GB, free: 13.05 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5647, allocations: 8 kB / 1.566 GB, free: 13.05 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5647, allocations: 0 / 1.566 GB, free: 13.05 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.5652, allocations: 92.8 kB / 1.566 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/0.5661, allocations: 215.7 kB / 1.566 GB, free: 12.74 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.5682, allocations: 1.549 MB / 1.568 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.569, allocations: 123.4 kB / 1.568 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/0.5691, allocations: 39.92 kB / 1.568 GB, free: 10.91 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004837/0.5696, allocations: 330.2 kB / 1.568 GB, free: 10.58 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.5698, allocations: 127.2 kB / 1.568 GB, free: 10.46 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.5729, allocations: 1.498 MB / 1.57 GB, free: 8.934 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.573, allocations: 16 kB / 1.57 GB, free: 8.918 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.573, allocations: 0 / 1.57 GB, free: 8.918 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.573, allocations: 7.922 kB / 1.57 GB, free: 8.91 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.5777, allocations: 2.763 MB / 1.573 GB, free: 6.062 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5777, allocations: 3.938 kB / 1.573 GB, free: 6.059 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/0.5786, allocations: 199.7 kB / 1.573 GB, free: 5.863 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.579, allocations: 72.98 kB / 1.573 GB, free: 5.789 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/0.5791, allocations: 35.97 kB / 1.573 GB, free: 5.754 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.581, allocations: 1.578 MB / 1.575 GB, free: 4.059 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.581, allocations: 4.062 kB / 1.575 GB, free: 4.055 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.5845, allocations: 1.87 MB / 1.576 GB, free: 2.148 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.585, allocations: 278.8 kB / 1.577 GB, free: 1.875 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.5852, allocations: 27.94 kB / 1.577 GB, free: 1.848 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.586, allocations: 77.47 kB / 1.577 GB, free: 1.773 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.5862, allocations: 96.7 kB / 1.577 GB, free: 1.68 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/0.5863, allocations: 47.97 kB / 1.577 GB, free: 1.633 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008884/0.5871, allocations: 0.6423 MB / 1.577 GB, free: 0.9805 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5871, allocations: 4 kB / 1.577 GB, free: 0.9766 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001085/0.5882, allocations: 454.9 kB / 1.578 GB, free: 0.5312 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005752/0.594, allocations: 3.026 MB / 1.581 GB, free: 13.64 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.5961, allocations: 1.03 MB / 1.582 GB, free: 12.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5961, allocations: 4 kB / 1.582 GB, free: 12.59 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5973, allocations: 0.6177 MB / 1.582 GB, free: 11.96 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.5993, allocations: 0.5236 MB / 1.583 GB, free: 11.46 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.6132, allocations: 8.88 MB / 1.592 GB, free: 2.379 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/0.614, allocations: 1.17 MB / 1.593 GB, free: 1.184 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001047/0.615, allocations: 373.9 kB / 1.593 GB, free: 0.8164 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/0.6158, allocations: 0.5383 MB / 1.594 GB, free: 284 kB / 1.279 GB Notification: Performance of SimCode: time 8.71e-07/0.6158, allocations: 0 / 1.594 GB, free: 284 kB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6041/1.22, allocations: 34.42 MB / 1.627 GB, free: 255.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/15.17, allocations: 11.59 kB / 1.627 GB, free: 255.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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: 21.630091161001474]