Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 110.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.105/3.105, allocations: 497.2 MB / 0.7811 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 66.98 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1967/0.5454, allocations: 157.3 MB / 1.458 GB, free: 3.602 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.5768, allocations: 21.81 MB / 1.479 GB, free: 13.72 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.5787, allocations: 55.69 kB / 1.479 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.5806, allocations: 1.161 MB / 1.48 GB, free: 12.5 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.5825, allocations: 0.8835 MB / 1.481 GB, free: 11.62 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.5839, allocations: 434.4 kB / 1.481 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.5859, allocations: 1.259 MB / 1.483 GB, free: 9.934 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.587, allocations: 0.5621 MB / 1.483 GB, free: 9.367 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.5883, allocations: 0.5569 MB / 1.484 GB, free: 8.809 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.59, allocations: 0.9956 MB / 1.485 GB, free: 7.809 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.5902, allocations: 68 kB / 1.485 GB, free: 7.742 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.5906, allocations: 112 kB / 1.485 GB, free: 7.633 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004362/0.5911, allocations: 324.6 kB / 1.485 GB, free: 7.316 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007207/0.5918, allocations: 492.8 kB / 1.486 GB, free: 6.832 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.5935, allocations: 1.202 MB / 1.487 GB, free: 5.625 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5935, allocations: 0 / 1.487 GB, free: 5.625 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5935, allocations: 0 / 1.487 GB, free: 5.625 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.617e-05/0.5935, allocations: 4 kB / 1.487 GB, free: 5.621 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003187/0.5967, allocations: 1.517 MB / 1.488 GB, free: 4.051 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.5967, allocations: 12.92 kB / 1.488 GB, free: 4.039 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.5969, allocations: 90.64 kB / 1.488 GB, free: 3.941 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.5972, allocations: 140 kB / 1.489 GB, free: 3.805 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.5985, allocations: 0.6676 MB / 1.489 GB, free: 3.086 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.5987, allocations: 74.69 kB / 1.489 GB, free: 3.004 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.5988, allocations: 47.98 kB / 1.489 GB, free: 2.957 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5999, allocations: 0.5184 MB / 1.49 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.5999, allocations: 0 / 1.49 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.6, allocations: 20 kB / 1.49 GB, free: 2.41 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.6, allocations: 12 kB / 1.49 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009538/0.6009, allocations: 415.7 kB / 1.49 GB, free: 1.988 MB / 1.186 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.004547/0.6055, allocations: 2.724 MB / 1.493 GB, free: 15.03 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.6065, allocations: 423.5 kB / 1.493 GB, free: 14.61 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.6073, allocations: 285.7 kB / 1.494 GB, free: 14.32 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.6073, allocations: 12.25 kB / 1.494 GB, free: 14.31 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006555/0.608, allocations: 291.7 kB / 1.494 GB, free: 14.02 MB / 1.201 GB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.608, allocations: 4 kB / 1.494 GB, free: 14.01 MB / 1.201 GB Notification: Performance of matching and sorting (n=44): time 0.002946/0.6109, allocations: 1.145 MB / 1.495 GB, free: 12.82 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.611, allocations: 55.41 kB / 1.495 GB, free: 12.75 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.6135, allocations: 1.764 MB / 1.497 GB, free: 10.98 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.6136, allocations: 37.7 kB / 1.497 GB, free: 10.93 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005701/0.6142, allocations: 0.5292 MB / 1.497 GB, free: 10.4 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.6143, allocations: 154.8 kB / 1.497 GB, free: 10.25 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.6145, allocations: 94.25 kB / 1.498 GB, free: 10.15 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6147, allocations: 330 kB / 1.498 GB, free: 9.82 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.6152, allocations: 209 kB / 1.498 GB, free: 9.617 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/0.6158, allocations: 343.1 kB / 1.498 GB, free: 9.23 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.6168, allocations: 0.5221 MB / 1.499 GB, free: 8.66 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6168, allocations: 0 / 1.499 GB, free: 8.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001774/0.6186, allocations: 0.8109 MB / 1.5 GB, free: 7.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.6186, allocations: 4 kB / 1.5 GB, free: 7.836 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6186, allocations: 4 kB / 1.5 GB, free: 7.832 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.6191, allocations: 136.9 kB / 1.5 GB, free: 7.695 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.6195, allocations: 107.8 kB / 1.5 GB, free: 7.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.6231, allocations: 2.607 MB / 1.502 GB, free: 4.855 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.6237, allocations: 75.69 kB / 1.503 GB, free: 4.781 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.6237, allocations: 20 kB / 1.503 GB, free: 4.762 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007432/0.6245, allocations: 379.4 kB / 1.503 GB, free: 4.383 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.6247, allocations: 131.1 kB / 1.503 GB, free: 4.254 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.6251, allocations: 151.7 kB / 1.503 GB, free: 4.102 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6251, allocations: 4 kB / 1.503 GB, free: 4.098 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.6251, allocations: 4 kB / 1.503 GB, free: 4.094 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6251, allocations: 0 / 1.503 GB, free: 4.094 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.6281, allocations: 1.475 MB / 1.505 GB, free: 2.559 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6281, allocations: 0 / 1.505 GB, free: 2.559 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.6284, allocations: 55.88 kB / 1.505 GB, free: 2.504 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/0.6288, allocations: 161.6 kB / 1.505 GB, free: 2.34 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.6289, allocations: 11.98 kB / 1.505 GB, free: 2.328 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/0.6336, allocations: 4.025 MB / 1.509 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6336, allocations: 0 / 1.509 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.6357, allocations: 0.9936 MB / 1.51 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/0.6361, allocations: 220.2 kB / 1.51 GB, free: 12.77 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.6362, allocations: 11.94 kB / 1.51 GB, free: 12.76 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.6366, allocations: 35.97 kB / 1.51 GB, free: 12.72 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.6368, allocations: 55.86 kB / 1.51 GB, free: 12.67 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.6368, allocations: 12 kB / 1.51 GB, free: 12.66 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001765/0.6386, allocations: 1.289 MB / 1.511 GB, free: 11.36 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6386, allocations: 0 / 1.511 GB, free: 11.36 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00099/0.6396, allocations: 203.5 kB / 1.512 GB, free: 11.17 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004363/0.6439, allocations: 1.899 MB / 1.513 GB, free: 9.43 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.6456, allocations: 0.6409 MB / 1.514 GB, free: 8.777 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.6456, allocations: 0 / 1.514 GB, free: 8.777 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6466, allocations: 0.5207 MB / 1.515 GB, free: 8.23 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.6479, allocations: 213.7 kB / 1.515 GB, free: 8.035 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.6626, allocations: 8.523 MB / 1.523 GB, free: 15.28 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.6637, allocations: 1.157 MB / 1.524 GB, free: 14.09 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003819/0.6641, allocations: 96.77 kB / 1.524 GB, free: 14 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.6646, allocations: 403.3 kB / 1.525 GB, free: 13.6 MB / 1.232 GB Notification: Performance of SimCode: time 1.282e-06/0.6646, allocations: 0 / 1.525 GB, free: 13.6 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08271/0.7473, allocations: 20.99 MB / 1.545 GB, free: 8.898 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.05, allocations: 7.844 kB / 1.545 GB, free: 8.891 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 23.17693709814921]