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.001485/0.001485, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001861/0.001861, allocations: 218.3 kB / 22.25 MB, free: 5.102 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.322/1.322, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] 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 2.839/2.839, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.001875/0.001875, allocations: 74.95 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1678/0.4499, allocations: 148.2 MB / 1.471 GB, free: 12.76 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02053/0.4704, allocations: 15.96 MB / 1.486 GB, free: 12.76 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.4719, allocations: 35.69 kB / 1.486 GB, free: 12.72 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.4733, allocations: 0.5389 MB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.4776, allocations: 1.673 MB / 1.488 GB, free: 10.5 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.4806, allocations: 1.354 MB / 1.49 GB, free: 9.16 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.4837, allocations: 2.731 MB / 1.492 GB, free: 6.418 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.4857, allocations: 1.539 MB / 1.494 GB, free: 4.816 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.4894, allocations: 1.445 MB / 1.495 GB, free: 3.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.4907, allocations: 1.004 MB / 1.496 GB, free: 2.402 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.491, allocations: 208 kB / 1.496 GB, free: 2.199 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.4934, allocations: 1.31 MB / 1.498 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.494, allocations: 0.5646 MB / 1.498 GB, free: 328 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008887/0.4949, allocations: 0.8594 MB / 1.499 GB, free: 15.46 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003718/0.4986, allocations: 3.18 MB / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4986, allocations: 0 / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4986, allocations: 0 / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.916e-05/0.4986, allocations: 3.938 kB / 1.502 GB, free: 12.26 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.003935/0.5026, allocations: 2.294 MB / 1.504 GB, free: 9.918 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5026, allocations: 12.03 kB / 1.504 GB, free: 9.906 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000295/0.5029, allocations: 249 kB / 1.505 GB, free: 9.652 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/0.5072, allocations: 0.5724 MB / 1.505 GB, free: 9.078 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.5091, allocations: 1.061 MB / 1.506 GB, free: 7.988 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.5092, allocations: 127.4 kB / 1.506 GB, free: 7.863 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.5095, allocations: 172 kB / 1.507 GB, free: 7.695 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/0.5129, allocations: 2.592 MB / 1.509 GB, free: 4.867 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.513, allocations: 4 kB / 1.509 GB, free: 4.863 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.5131, allocations: 75.98 kB / 1.509 GB, free: 4.789 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.5132, allocations: 43.94 kB / 1.509 GB, free: 4.746 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.5164, allocations: 1.824 MB / 1.511 GB, free: 2.918 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007421/0.5238, allocations: 3.967 MB / 1.515 GB, free: 14.87 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.5265, allocations: 1.364 MB / 1.516 GB, free: 13.5 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.5276, allocations: 0.5889 MB / 1.517 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.5287, allocations: 181.1 kB / 1.517 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001903/0.5306, allocations: 1.501 MB / 1.518 GB, free: 11.07 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.296e-06/0.5306, allocations: 0 / 1.518 GB, free: 11.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.005919/0.5365, allocations: 2.184 MB / 1.521 GB, free: 8.859 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.5366, allocations: 205.2 kB / 1.521 GB, free: 8.617 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.5378, allocations: 0.8633 MB / 1.522 GB, free: 7.73 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.538, allocations: 53.7 kB / 1.522 GB, free: 7.672 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/0.5386, allocations: 0.6733 MB / 1.522 GB, free: 6.988 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.539, allocations: 0.4918 MB / 1.523 GB, free: 6.492 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/0.5394, allocations: 238.8 kB / 1.523 GB, free: 6.254 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5395, allocations: 357.9 kB / 1.523 GB, free: 5.898 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009595/0.5405, allocations: 474.3 kB / 1.524 GB, free: 5.434 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.5418, allocations: 0.86 MB / 1.525 GB, free: 4.48 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.5439, allocations: 1.099 MB / 1.526 GB, free: 3.371 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.544, allocations: 96 / 1.526 GB, free: 3.371 MB / 1.217 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003488/0.5474, allocations: 1.515 MB / 1.527 GB, free: 1.832 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5475, allocations: 6.344 kB / 1.527 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.5475, allocations: 4 kB / 1.527 GB, free: 1.824 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009812/0.5485, allocations: 184.2 kB / 1.527 GB, free: 1.629 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.55, allocations: 331.5 kB / 1.528 GB, free: 1.305 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.556, allocations: 6.76 MB / 1.534 GB, free: 9.969 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.5574, allocations: 143.1 kB / 1.534 GB, free: 9.828 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.5575, allocations: 55.95 kB / 1.535 GB, free: 9.773 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.000731/0.5582, allocations: 375.3 kB / 1.535 GB, free: 9.398 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.5585, allocations: 139.2 kB / 1.535 GB, free: 9.262 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.5625, allocations: 1.843 MB / 1.537 GB, free: 7.391 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.5625, allocations: 16 kB / 1.537 GB, free: 7.375 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.5625, allocations: 4 kB / 1.537 GB, free: 7.371 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.5625, allocations: 7.969 kB / 1.537 GB, free: 7.363 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005849/0.5684, allocations: 3.198 MB / 1.54 GB, free: 4.098 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.5684, allocations: 0 / 1.54 GB, free: 4.098 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.5698, allocations: 315.6 kB / 1.54 GB, free: 3.789 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007362/0.5706, allocations: 184.1 kB / 1.54 GB, free: 3.594 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.753e-05/0.5707, allocations: 39.97 kB / 1.54 GB, free: 3.555 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00573/0.5764, allocations: 6.786 MB / 1.547 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5764, allocations: 0 / 1.547 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/0.58, allocations: 1.721 MB / 1.549 GB, free: 10.43 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000784/0.5808, allocations: 334.5 kB / 1.549 GB, free: 10.1 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.581, allocations: 28 kB / 1.549 GB, free: 10.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.5822, allocations: 105 kB / 1.549 GB, free: 9.969 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.5824, allocations: 117.1 kB / 1.549 GB, free: 9.852 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.5825, allocations: 67.95 kB / 1.549 GB, free: 9.785 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007883/0.5833, allocations: 0.6064 MB / 1.55 GB, free: 9.168 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5833, allocations: 0 / 1.55 GB, free: 9.168 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001448/0.5848, allocations: 0.6039 MB / 1.551 GB, free: 8.562 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.005956/0.5907, allocations: 2.937 MB / 1.553 GB, free: 5.801 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003267/0.594, allocations: 1.793 MB / 1.555 GB, free: 3.941 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.594, allocations: 0.6562 kB / 1.555 GB, free: 3.941 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.5959, allocations: 1.247 MB / 1.556 GB, free: 2.633 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.5981, allocations: 0.5159 MB / 1.557 GB, free: 2.137 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/0.6154, allocations: 10.05 MB / 1.567 GB, free: 7.91 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.6162, allocations: 0.7239 MB / 1.567 GB, free: 7.156 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001488/0.6176, allocations: 442.4 kB / 1.568 GB, free: 6.719 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009435/0.6186, allocations: 0.6593 MB / 1.569 GB, free: 6.062 MB / 1.264 GB Notification: Performance of SimCode: time 7.82e-07/0.6186, allocations: 0 / 1.569 GB, free: 6.062 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6513/1.27, allocations: 41.33 MB / 1.609 GB, free: 276.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.94, allocations: 10.59 kB / 1.609 GB, free: 276.8 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.061653478012886]