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.001688/0.001688, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001982/0.001982, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.153/3.153, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 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.00201/0.00201, allocations: 61.36 kB / 1.17 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3517, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1892/0.5408, allocations: 148.1 MB / 1.49 GB, free: 11.22 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02321/0.5641, allocations: 15.92 MB / 1.505 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.5657, allocations: 39.69 kB / 1.506 GB, free: 11.21 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.5673, allocations: 0.5389 MB / 1.506 GB, free: 10.67 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005104/0.5724, allocations: 1.685 MB / 1.508 GB, free: 8.984 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.576, allocations: 1.348 MB / 1.509 GB, free: 7.645 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004034/0.58, allocations: 2.723 MB / 1.512 GB, free: 4.914 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.5826, allocations: 1.543 MB / 1.513 GB, free: 3.316 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004486/0.5871, allocations: 1.436 MB / 1.515 GB, free: 1.922 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.5886, allocations: 1.007 MB / 1.516 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003873/0.589, allocations: 208 kB / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.5919, allocations: 1.326 MB / 1.517 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006318/0.5925, allocations: 0.5568 MB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.5937, allocations: 0.8594 MB / 1.518 GB, free: 13.96 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00526/0.599, allocations: 3.172 MB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.599, allocations: 0 / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.452e-06/0.599, allocations: 0 / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.761e-05/0.5991, allocations: 0 / 1.522 GB, free: 10.77 MB / 1.217 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.004585/0.6037, allocations: 2.29 MB / 1.524 GB, free: 8.434 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.6037, allocations: 12.03 kB / 1.524 GB, free: 8.422 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.088e-05/0.6038, allocations: 47.41 kB / 1.524 GB, free: 8.375 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003377/0.6041, allocations: 249 kB / 1.524 GB, free: 8.121 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/0.6087, allocations: 0.5763 MB / 1.525 GB, free: 7.543 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.611, allocations: 1.073 MB / 1.526 GB, free: 6.441 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.6111, allocations: 127.4 kB / 1.526 GB, free: 6.316 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.6114, allocations: 171.9 kB / 1.526 GB, free: 6.148 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004399/0.6158, allocations: 2.596 MB / 1.528 GB, free: 3.316 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.6158, allocations: 0 / 1.528 GB, free: 3.316 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.616, allocations: 72 kB / 1.529 GB, free: 3.246 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.6161, allocations: 44 kB / 1.529 GB, free: 3.203 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/0.6197, allocations: 1.871 MB / 1.53 GB, free: 1.328 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00836/0.628, allocations: 3.971 MB / 1.534 GB, free: 13.28 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.6311, allocations: 1.36 MB / 1.536 GB, free: 11.91 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.6323, allocations: 0.5967 MB / 1.536 GB, free: 11.31 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.6335, allocations: 177.1 kB / 1.536 GB, free: 11.14 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002134/0.6356, allocations: 1.503 MB / 1.538 GB, free: 9.469 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 4.318e-06/0.6356, allocations: 0 / 1.538 GB, free: 9.469 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006378/0.642, allocations: 2.188 MB / 1.54 GB, free: 7.258 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.6421, allocations: 193.2 kB / 1.54 GB, free: 7.027 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.6435, allocations: 0.8633 MB / 1.541 GB, free: 6.141 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.6438, allocations: 61.64 kB / 1.541 GB, free: 6.074 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/0.6444, allocations: 0.6655 MB / 1.542 GB, free: 5.398 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.645, allocations: 0.4957 MB / 1.542 GB, free: 4.898 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.6454, allocations: 242.8 kB / 1.542 GB, free: 4.656 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.6456, allocations: 353.9 kB / 1.543 GB, free: 4.305 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.6466, allocations: 478.3 kB / 1.543 GB, free: 3.836 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.648, allocations: 0.8676 MB / 1.544 GB, free: 2.871 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.6502, allocations: 1.091 MB / 1.545 GB, free: 1.773 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6502, allocations: 0 / 1.545 GB, free: 1.773 MB / 1.232 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003606/0.6538, allocations: 1.507 MB / 1.547 GB, free: 248 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.6538, allocations: 5.719 kB / 1.547 GB, free: 244 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6538, allocations: 4 kB / 1.547 GB, free: 240 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009388/0.6548, allocations: 188.2 kB / 1.547 GB, free: 36 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.6564, allocations: 335.5 kB / 1.547 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006374/0.6628, allocations: 6.75 MB / 1.554 GB, free: 8.383 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.6642, allocations: 155.1 kB / 1.554 GB, free: 8.23 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.6643, allocations: 51.97 kB / 1.554 GB, free: 8.18 MB / 1.248 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.0008594/0.6652, allocations: 365.8 kB / 1.554 GB, free: 7.812 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.6656, allocations: 143.2 kB / 1.554 GB, free: 7.672 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.6699, allocations: 1.847 MB / 1.556 GB, free: 5.797 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.67, allocations: 16 kB / 1.556 GB, free: 5.781 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.67, allocations: 8 kB / 1.556 GB, free: 5.773 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.67, allocations: 7.969 kB / 1.556 GB, free: 5.766 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006726/0.6767, allocations: 3.194 MB / 1.559 GB, free: 2.5 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.6767, allocations: 0 / 1.559 GB, free: 2.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.6782, allocations: 315.6 kB / 1.56 GB, free: 2.191 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007858/0.679, allocations: 184.1 kB / 1.56 GB, free: 1.996 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/0.6792, allocations: 39.97 kB / 1.56 GB, free: 1.957 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/0.6853, allocations: 6.78 MB / 1.566 GB, free: 10.6 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6854, allocations: 3.984 kB / 1.566 GB, free: 10.59 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.6894, allocations: 1.717 MB / 1.568 GB, free: 8.844 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/0.6904, allocations: 338.6 kB / 1.568 GB, free: 8.512 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.6906, allocations: 31.94 kB / 1.569 GB, free: 8.48 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.6919, allocations: 107.4 kB / 1.569 GB, free: 8.379 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.6922, allocations: 121.1 kB / 1.569 GB, free: 8.258 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/0.6924, allocations: 67.94 kB / 1.569 GB, free: 8.191 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008874/0.6932, allocations: 0.5986 MB / 1.569 GB, free: 7.582 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6932, allocations: 0 / 1.569 GB, free: 7.582 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001702/0.6949, allocations: 0.6078 MB / 1.57 GB, free: 6.973 MB / 1.264 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.006549/0.7015, allocations: 2.928 MB / 1.573 GB, free: 4.215 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.7052, allocations: 1.785 MB / 1.575 GB, free: 2.363 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.7052, allocations: 0.6562 kB / 1.575 GB, free: 2.359 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.7073, allocations: 1.254 MB / 1.576 GB, free: 1.043 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.7097, allocations: 0.5237 MB / 1.576 GB, free: 0.543 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/0.7287, allocations: 10.03 MB / 1.586 GB, free: 6.336 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008555/0.7295, allocations: 0.7255 MB / 1.587 GB, free: 5.574 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001631/0.7312, allocations: 438.4 kB / 1.587 GB, free: 5.141 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.7322, allocations: 0.6554 MB / 1.588 GB, free: 4.484 MB / 1.279 GB Notification: Performance of SimCode: time 6.81e-07/0.7322, allocations: 0 / 1.588 GB, free: 4.484 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7228/1.455, allocations: 40.91 MB / 1.628 GB, free: 257.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/16.92, allocations: 3.672 kB / 1.628 GB, free: 257.2 MB / 1.295 GB " [Timeout remaining time 283] (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: 23.91543468902819]