Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 109.7 kB / 16.41 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 183 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.511/2.511, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 72.12 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8222, allocations: 159.1 MB / 1.221 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1614/0.9836, allocations: 162 MB / 1.379 GB, free: 15.86 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03129/1.015, allocations: 26.94 MB / 1.405 GB, free: 4.832 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/1.018, allocations: 75.62 kB / 1.405 GB, free: 4.758 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/1.02, allocations: 1.049 MB / 1.406 GB, free: 3.703 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00503/1.025, allocations: 1.82 MB / 1.408 GB, free: 1.879 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/1.029, allocations: 1.719 MB / 1.41 GB, free: 172 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007914/1.037, allocations: 5.308 MB / 1.415 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00619/1.043, allocations: 4.17 MB / 1.419 GB, free: 6.598 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/1.048, allocations: 2.139 MB / 1.421 GB, free: 4.457 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003602/1.051, allocations: 2.526 MB / 1.424 GB, free: 1.922 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001208/1.053, allocations: 460 kB / 1.424 GB, free: 1.473 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/1.055, allocations: 1.054 MB / 1.425 GB, free: 428 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/1.057, allocations: 1.176 MB / 1.426 GB, free: 15.23 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002624/1.059, allocations: 2.13 MB / 1.428 GB, free: 13.1 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006653/1.066, allocations: 5.97 MB / 1.434 GB, free: 7.109 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.066, allocations: 4 kB / 1.434 GB, free: 7.105 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.834e-06/1.066, allocations: 0 / 1.434 GB, free: 7.105 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001408/1.066, allocations: 0 / 1.434 GB, free: 7.105 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01144/1.077, allocations: 4.63 MB / 1.439 GB, free: 2.387 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/1.078, allocations: 12.03 kB / 1.439 GB, free: 2.375 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/1.091, allocations: 2.769 MB / 1.441 GB, free: 15.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/1.096, allocations: 2.317 MB / 1.444 GB, free: 13.2 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/1.096, allocations: 246.4 kB / 1.444 GB, free: 12.96 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007842/1.097, allocations: 308 kB / 1.444 GB, free: 12.66 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/1.109, allocations: 5.162 MB / 1.449 GB, free: 7.418 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.785e-05/1.11, allocations: 4 kB / 1.449 GB, free: 7.414 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004055/1.11, allocations: 132 kB / 1.449 GB, free: 7.285 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/1.11, allocations: 79.94 kB / 1.45 GB, free: 7.207 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/1.125, allocations: 6.287 MB / 1.456 GB, free: 0.9062 MB / 1.17 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.02904/1.154, allocations: 14.8 MB / 1.47 GB, free: 1.473 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/1.165, allocations: 4.699 MB / 1.475 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005793/1.171, allocations: 2.44 MB / 1.477 GB, free: 10.31 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/1.172, allocations: 0.6775 MB / 1.478 GB, free: 9.5 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006717/1.179, allocations: 2.622 MB / 1.48 GB, free: 6.836 MB / 1.201 GB Notification: Performance of pre-optimization done (n=278): time 8.416e-06/1.179, allocations: 0 / 1.48 GB, free: 6.836 MB / 1.201 GB Notification: Performance of matching and sorting (n=278): time 0.02057/1.199, allocations: 7.396 MB / 1.488 GB, free: 15.32 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.2, allocations: 214.1 kB / 1.488 GB, free: 15.07 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/1.204, allocations: 2.438 MB / 1.49 GB, free: 12.6 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000756/1.205, allocations: 81.7 kB / 1.49 GB, free: 12.52 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/1.206, allocations: 1.33 MB / 1.492 GB, free: 11.17 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.207, allocations: 0.9127 MB / 1.492 GB, free: 10.24 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/1.209, allocations: 0.5008 MB / 1.493 GB, free: 9.734 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.209, allocations: 305.1 kB / 1.493 GB, free: 9.434 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005038/1.215, allocations: 2.035 MB / 1.495 GB, free: 7.395 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005348/1.22, allocations: 2.34 MB / 1.497 GB, free: 4.98 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.23, allocations: 4.277 MB / 1.502 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.23, allocations: 0 / 1.502 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01333/1.244, allocations: 5.001 MB / 1.507 GB, free: 11.56 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/1.244, allocations: 8 kB / 1.507 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.244, allocations: 4 kB / 1.507 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/1.244, allocations: 235 kB / 1.507 GB, free: 11.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/1.249, allocations: 0.8151 MB / 1.508 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00457/1.253, allocations: 3.379 MB / 1.511 GB, free: 7 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/1.258, allocations: 0.5616 MB / 1.511 GB, free: 6.438 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006974/1.258, allocations: 111.9 kB / 1.511 GB, free: 6.328 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002876/1.261, allocations: 0.9427 MB / 1.512 GB, free: 5.375 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.262, allocations: 280.5 kB / 1.513 GB, free: 5.098 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/1.277, allocations: 5.621 MB / 1.518 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/1.277, allocations: 28 kB / 1.518 GB, free: 15.39 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/1.277, allocations: 8 kB / 1.518 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.843e-05/1.277, allocations: 11.95 kB / 1.518 GB, free: 15.37 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/1.284, allocations: 3.703 MB / 1.522 GB, free: 11.61 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/1.284, allocations: 0 / 1.522 GB, free: 11.61 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003914/1.288, allocations: 0.741 MB / 1.523 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008626/1.289, allocations: 262.4 kB / 1.523 GB, free: 10.6 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004731/1.289, allocations: 87.92 kB / 1.523 GB, free: 10.51 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/1.294, allocations: 5.237 MB / 1.528 GB, free: 4.973 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.294, allocations: 0 / 1.528 GB, free: 4.973 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.313, allocations: 8.03 MB / 1.536 GB, free: 12.85 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/1.316, allocations: 0.8288 MB / 1.537 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009572/1.317, allocations: 67.84 kB / 1.537 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003602/1.32, allocations: 423.3 kB / 1.537 GB, free: 11.52 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006214/1.321, allocations: 198.1 kB / 1.537 GB, free: 11.32 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004362/1.321, allocations: 107.9 kB / 1.537 GB, free: 11.22 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003272/1.325, allocations: 1.777 MB / 1.539 GB, free: 9.43 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.1e-07/1.325, allocations: 0 / 1.539 GB, free: 9.43 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003645/1.328, allocations: 1.067 MB / 1.54 GB, free: 8.359 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002859/1.331, allocations: 1.064 MB / 1.541 GB, free: 7.637 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.344, allocations: 4.909 MB / 1.546 GB, free: 2.684 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.344, allocations: 4 kB / 1.546 GB, free: 2.68 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.007015/1.351, allocations: 2.773 MB / 1.549 GB, free: 15.88 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004483/1.356, allocations: 0.7006 MB / 1.549 GB, free: 15.21 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.373, allocations: 7.883 MB / 1.557 GB, free: 7.273 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/1.376, allocations: 2.373 MB / 1.559 GB, free: 4.875 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/1.378, allocations: 327.2 kB / 1.56 GB, free: 4.559 MB / 1.279 GB Notification: Performance of SimCode: time 1.193e-06/1.378, allocations: 0 / 1.56 GB, free: 4.559 MB / 1.279 GB Notification: Performance of Templates: time 0.7175/2.096, allocations: 85.11 MB / 1.643 GB, free: 270.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches