Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001334/0.001334, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001523/0.001523, allocations: 214 kB / 23.03 MB, free: 4.953 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1/3.1, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_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.002253/0.002253, allocations: 61.69 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2985, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.18/0.4785, allocations: 148.1 MB / 1.471 GB, free: 12.82 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.5034, allocations: 15.92 MB / 1.487 GB, free: 12.86 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.5051, allocations: 43.62 kB / 1.487 GB, free: 12.82 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.5069, allocations: 0.535 MB / 1.487 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.5121, allocations: 1.673 MB / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.5156, allocations: 1.35 MB / 1.49 GB, free: 9.262 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003688/0.5193, allocations: 2.727 MB / 1.493 GB, free: 6.523 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.5216, allocations: 1.536 MB / 1.494 GB, free: 4.93 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.526, allocations: 1.442 MB / 1.496 GB, free: 3.531 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.5277, allocations: 1.004 MB / 1.497 GB, free: 2.523 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003785/0.528, allocations: 215.9 kB / 1.497 GB, free: 2.312 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.5308, allocations: 1.318 MB / 1.498 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005574/0.5313, allocations: 0.5646 MB / 1.499 GB, free: 436 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.5327, allocations: 0.8633 MB / 1.5 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007134/0.5399, allocations: 3.168 MB / 1.503 GB, free: 12.38 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.5399, allocations: 3.938 kB / 1.503 GB, free: 12.38 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5399, allocations: 0 / 1.503 GB, free: 12.38 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.675e-05/0.5399, allocations: 0 / 1.503 GB, free: 12.38 MB / 1.201 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.004378/0.5443, allocations: 2.294 MB / 1.505 GB, free: 10.03 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5444, allocations: 12.03 kB / 1.505 GB, free: 10.02 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.666e-05/0.5444, allocations: 43.41 kB / 1.505 GB, free: 9.977 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003064/0.5447, allocations: 253 kB / 1.505 GB, free: 9.719 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/0.5491, allocations: 0.5802 MB / 1.506 GB, free: 9.137 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.551, allocations: 1.057 MB / 1.507 GB, free: 8.051 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.5511, allocations: 135.4 kB / 1.507 GB, free: 7.918 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.5514, allocations: 167.9 kB / 1.507 GB, free: 7.754 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/0.5553, allocations: 2.6 MB / 1.51 GB, free: 4.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.5553, allocations: 0 / 1.51 GB, free: 4.918 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.5555, allocations: 76 kB / 1.51 GB, free: 4.844 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.5555, allocations: 44 kB / 1.51 GB, free: 4.801 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.559, allocations: 1.875 MB / 1.512 GB, free: 2.922 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007519/0.5665, allocations: 3.964 MB / 1.516 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.5694, allocations: 1.364 MB / 1.517 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.5705, allocations: 0.589 MB / 1.518 GB, free: 12.92 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.5716, allocations: 177.1 kB / 1.518 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.5737, allocations: 1.498 MB / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.707e-06/0.5737, allocations: 0 / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.00626/0.5799, allocations: 2.192 MB / 1.521 GB, free: 8.871 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.5801, allocations: 201.2 kB / 1.522 GB, free: 8.633 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.5813, allocations: 0.8633 MB / 1.522 GB, free: 7.746 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.5814, allocations: 53.7 kB / 1.522 GB, free: 7.688 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006255/0.582, allocations: 0.6694 MB / 1.523 GB, free: 7.008 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.5825, allocations: 0.4957 MB / 1.524 GB, free: 6.508 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.5829, allocations: 242.8 kB / 1.524 GB, free: 6.266 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5831, allocations: 349.9 kB / 1.524 GB, free: 5.918 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009928/0.5841, allocations: 478.3 kB / 1.525 GB, free: 5.449 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.5854, allocations: 0.8599 MB / 1.525 GB, free: 4.492 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.5877, allocations: 1.099 MB / 1.526 GB, free: 3.383 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5877, allocations: 0 / 1.526 GB, free: 3.383 MB / 1.217 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00373/0.5914, allocations: 1.504 MB / 1.528 GB, free: 1.855 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5914, allocations: 4 kB / 1.528 GB, free: 1.852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5914, allocations: 4.094 kB / 1.528 GB, free: 1.848 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/0.5924, allocations: 192.1 kB / 1.528 GB, free: 1.645 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.594, allocations: 331.6 kB / 1.528 GB, free: 1.32 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00662/0.6006, allocations: 6.757 MB / 1.535 GB, free: 9.988 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.6021, allocations: 155.1 kB / 1.535 GB, free: 9.836 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.6022, allocations: 52.03 kB / 1.535 GB, free: 9.785 MB / 1.232 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.000906/0.6031, allocations: 369.5 kB / 1.536 GB, free: 9.414 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.6034, allocations: 139.2 kB / 1.536 GB, free: 9.277 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004429/0.6078, allocations: 1.847 MB / 1.538 GB, free: 7.406 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.6079, allocations: 16 kB / 1.538 GB, free: 7.391 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.6079, allocations: 4 kB / 1.538 GB, free: 7.387 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.6079, allocations: 7.969 kB / 1.538 GB, free: 7.379 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/0.6142, allocations: 3.198 MB / 1.541 GB, free: 4.109 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6142, allocations: 0 / 1.541 GB, free: 4.109 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.6158, allocations: 323.6 kB / 1.541 GB, free: 3.793 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008339/0.6166, allocations: 176.1 kB / 1.541 GB, free: 3.605 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.6167, allocations: 39.97 kB / 1.541 GB, free: 3.566 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006317/0.623, allocations: 6.786 MB / 1.548 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.623, allocations: 0 / 1.548 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.6271, allocations: 1.714 MB / 1.549 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007852/0.6278, allocations: 334.6 kB / 1.55 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.6281, allocations: 35.94 kB / 1.55 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.6293, allocations: 101.2 kB / 1.55 GB, free: 9.988 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.6295, allocations: 125 kB / 1.55 GB, free: 9.863 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/0.6297, allocations: 71.94 kB / 1.55 GB, free: 9.793 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008783/0.6306, allocations: 0.5986 MB / 1.551 GB, free: 9.184 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6306, allocations: 4 kB / 1.551 GB, free: 9.18 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001636/0.6322, allocations: 0.6039 MB / 1.551 GB, free: 8.574 MB / 1.248 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.00625/0.6385, allocations: 2.924 MB / 1.554 GB, free: 5.816 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003375/0.6418, allocations: 1.793 MB / 1.556 GB, free: 3.961 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6418, allocations: 4.656 kB / 1.556 GB, free: 3.957 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.6439, allocations: 1.246 MB / 1.557 GB, free: 2.645 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.6461, allocations: 0.5313 MB / 1.558 GB, free: 2.141 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.6653, allocations: 10.04 MB / 1.567 GB, free: 7.918 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009473/0.6662, allocations: 0.7177 MB / 1.568 GB, free: 7.168 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001854/0.6681, allocations: 438.4 kB / 1.569 GB, free: 6.734 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.6692, allocations: 0.6593 MB / 1.569 GB, free: 6.078 MB / 1.264 GB Notification: Performance of SimCode: time 1.392e-06/0.6692, allocations: 0 / 1.569 GB, free: 6.078 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6815/1.351, allocations: 40.92 MB / 1.609 GB, free: 275.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/17.02, allocations: 6.812 kB / 1.609 GB, free: 275.6 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.768269319087267]