Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001424/0.001424, allocations: 101.5 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.001617/0.001617, allocations: 217.9 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.327/1.327, 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.872/2.872, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.001806/0.001806, allocations: 79.03 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2784, allocations: 179 MB / 1.345 GB, free: 416 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1791/0.4575, allocations: 172 MB / 1.513 GB, free: 3.777 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.4786, allocations: 17.45 MB / 1.53 GB, free: 2.273 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.4799, allocations: 43.62 kB / 1.53 GB, free: 2.23 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.4814, allocations: 0.5701 MB / 1.531 GB, free: 1.656 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.4855, allocations: 1.684 MB / 1.533 GB, free: 15.97 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.4886, allocations: 1.385 MB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003201/0.4918, allocations: 2.727 MB / 1.537 GB, free: 11.86 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.4938, allocations: 1.543 MB / 1.538 GB, free: 10.26 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.4976, allocations: 1.435 MB / 1.539 GB, free: 8.871 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.4989, allocations: 1.007 MB / 1.54 GB, free: 7.859 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.4991, allocations: 208 kB / 1.541 GB, free: 7.656 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.5023, allocations: 1.509 MB / 1.542 GB, free: 6.145 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007172/0.503, allocations: 0.5608 MB / 1.543 GB, free: 5.582 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.5046, allocations: 1.046 MB / 1.544 GB, free: 4.531 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005569/0.5102, allocations: 3.176 MB / 1.547 GB, free: 1.344 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5102, allocations: 4 kB / 1.547 GB, free: 1.34 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5102, allocations: 0 / 1.547 GB, free: 1.34 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.131e-05/0.5102, allocations: 0 / 1.547 GB, free: 1.34 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004033/0.5143, allocations: 2.302 MB / 1.549 GB, free: 14.99 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5143, allocations: 8.031 kB / 1.549 GB, free: 14.98 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.698e-05/0.5144, allocations: 47.41 kB / 1.549 GB, free: 14.93 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002749/0.5146, allocations: 249 kB / 1.549 GB, free: 14.68 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.5186, allocations: 0.5802 MB / 1.55 GB, free: 14.1 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.5205, allocations: 1.065 MB / 1.551 GB, free: 13 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.5206, allocations: 131.4 kB / 1.551 GB, free: 12.88 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.5208, allocations: 171.9 kB / 1.551 GB, free: 12.71 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.524, allocations: 1.832 MB / 1.553 GB, free: 10.82 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.524, allocations: 3.984 kB / 1.553 GB, free: 10.82 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.5242, allocations: 76 kB / 1.553 GB, free: 10.75 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.5242, allocations: 40 kB / 1.553 GB, free: 10.71 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.5274, allocations: 1.882 MB / 1.555 GB, free: 8.82 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008347/0.5358, allocations: 5.647 MB / 1.56 GB, free: 2.785 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.5387, allocations: 1.37 MB / 1.562 GB, free: 1.41 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.5398, allocations: 0.589 MB / 1.562 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009783/0.5408, allocations: 189 kB / 1.563 GB, free: 0.6328 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/0.5424, allocations: 0.8959 MB / 1.563 GB, free: 15.71 MB / 1.264 GB Notification: Performance of pre-optimization done (n=146): time 2.975e-06/0.5424, allocations: 0 / 1.563 GB, free: 15.71 MB / 1.264 GB Notification: Performance of matching and sorting (n=146): time 0.005824/0.5482, allocations: 2.184 MB / 1.566 GB, free: 13.51 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.5484, allocations: 205.2 kB / 1.566 GB, free: 13.27 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.5495, allocations: 0.8555 MB / 1.567 GB, free: 12.39 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.5497, allocations: 57.7 kB / 1.567 GB, free: 12.32 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.5502, allocations: 0.6694 MB / 1.567 GB, free: 11.64 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.5507, allocations: 0.4957 MB / 1.568 GB, free: 11.14 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/0.5511, allocations: 234.8 kB / 1.568 GB, free: 10.91 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5512, allocations: 357.9 kB / 1.568 GB, free: 10.55 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009636/0.5522, allocations: 474.4 kB / 1.569 GB, free: 10.09 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.5533, allocations: 0.634 MB / 1.569 GB, free: 9.414 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.5554, allocations: 1.099 MB / 1.571 GB, free: 8.309 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5554, allocations: 4 kB / 1.571 GB, free: 8.305 MB / 1.264 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00348/0.5589, allocations: 1.5 MB / 1.572 GB, free: 6.781 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5589, allocations: 8 kB / 1.572 GB, free: 6.773 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.5589, allocations: 4.094 kB / 1.572 GB, free: 6.77 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008867/0.5598, allocations: 196.1 kB / 1.572 GB, free: 6.562 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.5613, allocations: 327.5 kB / 1.572 GB, free: 6.242 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.5674, allocations: 6.783 MB / 1.579 GB, free: 14.88 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.5687, allocations: 153.2 kB / 1.579 GB, free: 14.73 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.5688, allocations: 59.97 kB / 1.579 GB, free: 14.68 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007888/0.5696, allocations: 369.6 kB / 1.58 GB, free: 14.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.5699, allocations: 139.2 kB / 1.58 GB, free: 14.17 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.574, allocations: 1.847 MB / 1.582 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.574, allocations: 16 kB / 1.582 GB, free: 12.28 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.574, allocations: 0 / 1.582 GB, free: 12.28 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.5741, allocations: 11.97 kB / 1.582 GB, free: 12.27 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/0.5803, allocations: 3.42 MB / 1.585 GB, free: 8.773 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.5803, allocations: 0 / 1.585 GB, free: 8.773 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.5817, allocations: 315.6 kB / 1.585 GB, free: 8.465 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007454/0.5825, allocations: 180.1 kB / 1.585 GB, free: 8.273 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.5826, allocations: 39.97 kB / 1.585 GB, free: 8.234 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005822/0.5884, allocations: 6.803 MB / 1.592 GB, free: 0.8516 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5884, allocations: 7.969 kB / 1.592 GB, free: 0.8438 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.5922, allocations: 1.717 MB / 1.594 GB, free: 15.09 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007782/0.593, allocations: 334.5 kB / 1.594 GB, free: 14.76 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.5932, allocations: 35.92 kB / 1.594 GB, free: 14.73 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5943, allocations: 98.72 kB / 1.594 GB, free: 14.63 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.5946, allocations: 121.1 kB / 1.594 GB, free: 14.51 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.5947, allocations: 67.95 kB / 1.594 GB, free: 14.45 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008085/0.5955, allocations: 0.5986 MB / 1.595 GB, free: 13.84 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.5955, allocations: 0 / 1.595 GB, free: 13.84 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001483/0.597, allocations: 0.6078 MB / 1.596 GB, free: 13.23 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005839/0.6028, allocations: 2.904 MB / 1.598 GB, free: 10.47 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003199/0.606, allocations: 1.781 MB / 1.6 GB, free: 8.625 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.6061, allocations: 8.656 kB / 1.6 GB, free: 8.613 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.608, allocations: 1.25 MB / 1.601 GB, free: 7.301 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.6102, allocations: 0.5227 MB / 1.602 GB, free: 6.793 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5417/1.152, allocations: 10.03 MB / 1.612 GB, free: 257 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009688/1.153, allocations: 1.3 MB / 1.613 GB, free: 256.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001485/1.154, allocations: 449.4 kB / 1.613 GB, free: 256.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/1.155, allocations: 0.657 MB / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.022e-06/1.155, allocations: 0 / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08557/1.241, allocations: 39.15 MB / 1.652 GB, free: 243.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/16.06, allocations: 15.97 kB / 1.652 GB, free: 243.2 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: 22.33844542899169]