Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 106 kB / 16.41 MB, free: 6.465 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.001416/0.001416, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 60.09 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8595, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1777/1.037, allocations: 162.6 MB / 1.367 GB, free: 10.37 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03557/1.073, allocations: 27.13 MB / 1.394 GB, free: 15.15 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/1.076, allocations: 75.62 kB / 1.394 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00298/1.079, allocations: 1.084 MB / 1.395 GB, free: 13.98 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006081/1.085, allocations: 1.848 MB / 1.397 GB, free: 12.13 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004792/1.09, allocations: 1.787 MB / 1.398 GB, free: 10.36 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007523/1.098, allocations: 5.546 MB / 1.404 GB, free: 4.797 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006143/1.104, allocations: 4.34 MB / 1.408 GB, free: 388 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/1.108, allocations: 2.21 MB / 1.41 GB, free: 14.16 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/1.112, allocations: 2.631 MB / 1.413 GB, free: 11.52 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001476/1.114, allocations: 487.9 kB / 1.413 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/1.117, allocations: 1.089 MB / 1.414 GB, free: 9.957 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/1.119, allocations: 1.227 MB / 1.416 GB, free: 8.727 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003528/1.122, allocations: 2.235 MB / 1.418 GB, free: 6.48 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007901/1.13, allocations: 6.264 MB / 1.424 GB, free: 204 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.13, allocations: 0 / 1.424 GB, free: 204 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.683e-06/1.13, allocations: 0 / 1.424 GB, free: 204 kB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000203/1.13, allocations: 0 / 1.424 GB, free: 204 kB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.0121/1.142, allocations: 4.812 MB / 1.429 GB, free: 11.3 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.142, allocations: 8.031 kB / 1.429 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/1.156, allocations: 2.788 MB / 1.431 GB, free: 8.496 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/1.161, allocations: 2.408 MB / 1.434 GB, free: 6.012 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/1.161, allocations: 254.7 kB / 1.434 GB, free: 5.762 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007918/1.162, allocations: 324 kB / 1.434 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/1.175, allocations: 5.338 MB / 1.439 GB, free: 32 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.832e-05/1.175, allocations: 0 / 1.439 GB, free: 32 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005168/1.176, allocations: 136.1 kB / 1.439 GB, free: 15.89 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/1.176, allocations: 83.94 kB / 1.44 GB, free: 15.81 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/1.193, allocations: 6.472 MB / 1.446 GB, free: 9.328 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.03356/1.227, allocations: 15.66 MB / 1.461 GB, free: 8.957 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.239, allocations: 4.883 MB / 1.466 GB, free: 4.074 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006566/1.246, allocations: 2.58 MB / 1.468 GB, free: 1.484 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.247, allocations: 0.6658 MB / 1.469 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007302/1.254, allocations: 2.72 MB / 1.472 GB, free: 13.93 MB / 1.201 GB Notification: Performance of pre-optimization done (n=291): time 7.534e-06/1.254, allocations: 0 / 1.472 GB, free: 13.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=291): time 0.02457/1.279, allocations: 8.013 MB / 1.48 GB, free: 5.801 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/1.279, allocations: 214.2 kB / 1.48 GB, free: 5.547 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/1.284, allocations: 2.524 MB / 1.482 GB, free: 3 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00085/1.285, allocations: 81.7 kB / 1.482 GB, free: 2.914 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001777/1.286, allocations: 1.393 MB / 1.484 GB, free: 1.504 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00173/1.288, allocations: 0.955 MB / 1.485 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/1.29, allocations: 0.5169 MB / 1.485 GB, free: 12 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.291, allocations: 301.1 kB / 1.485 GB, free: 15.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005629/1.296, allocations: 2.105 MB / 1.487 GB, free: 13.61 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006087/1.302, allocations: 2.424 MB / 1.49 GB, free: 11.11 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/1.314, allocations: 4.443 MB / 1.494 GB, free: 6.582 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/1.314, allocations: 4 kB / 1.494 GB, free: 6.578 MB / 1.217 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01665/1.331, allocations: 5.257 MB / 1.499 GB, free: 1.273 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/1.331, allocations: 7.938 kB / 1.499 GB, free: 1.266 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/1.331, allocations: 11.92 kB / 1.499 GB, free: 1.254 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009471/1.332, allocations: 345.3 kB / 1.5 GB, free: 0.9141 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004619/1.337, allocations: 0.8229 MB / 1.5 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006004/1.343, allocations: 4.219 MB / 1.505 GB, free: 11.73 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/1.347, allocations: 0.5596 MB / 1.505 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008743/1.348, allocations: 115.9 kB / 1.505 GB, free: 11.05 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003361/1.352, allocations: 0.9891 MB / 1.506 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.353, allocations: 288.4 kB / 1.507 GB, free: 9.77 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.37, allocations: 5.898 MB / 1.512 GB, free: 3.812 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/1.37, allocations: 32 kB / 1.512 GB, free: 3.781 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.499e-05/1.37, allocations: 11.94 kB / 1.512 GB, free: 3.77 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.36e-05/1.37, allocations: 15.94 kB / 1.512 GB, free: 3.754 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/1.377, allocations: 3.847 MB / 1.516 GB, free: 15.85 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.345e-05/1.378, allocations: 0 / 1.516 GB, free: 15.85 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004424/1.382, allocations: 0.7527 MB / 1.517 GB, free: 15.1 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/1.383, allocations: 382.5 kB / 1.517 GB, free: 14.71 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000812/1.384, allocations: 87.92 kB / 1.517 GB, free: 14.63 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006962/1.391, allocations: 6.308 MB / 1.523 GB, free: 8.016 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.391, allocations: 0 / 1.523 GB, free: 8.016 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02146/1.413, allocations: 8.409 MB / 1.532 GB, free: 15.52 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/1.415, allocations: 0.8675 MB / 1.532 GB, free: 14.62 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.416, allocations: 75.83 kB / 1.533 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004018/1.42, allocations: 419.4 kB / 1.533 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007918/1.421, allocations: 214.1 kB / 1.533 GB, free: 13.93 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006233/1.422, allocations: 107.9 kB / 1.533 GB, free: 13.82 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003195/1.425, allocations: 1.838 MB / 1.535 GB, free: 11.98 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.21e-07/1.425, allocations: 0 / 1.535 GB, free: 11.98 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003872/1.429, allocations: 1.13 MB / 1.536 GB, free: 10.84 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (279): * Single equations (assignments): 265 * 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 {(3,25,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.003044/1.432, allocations: 1.056 MB / 1.537 GB, free: 10.13 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01359/1.446, allocations: 5.133 MB / 1.542 GB, free: 4.961 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.446, allocations: 128 / 1.542 GB, free: 4.961 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00761/1.453, allocations: 2.922 MB / 1.545 GB, free: 2.008 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/1.458, allocations: 0.732 MB / 1.546 GB, free: 1.312 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/1.478, allocations: 8.239 MB / 1.554 GB, free: 9.027 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/1.481, allocations: 2.454 MB / 1.556 GB, free: 6.543 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002577/1.484, allocations: 331.2 kB / 1.557 GB, free: 6.219 MB / 1.279 GB Notification: Performance of SimCode: time 8.12e-07/1.484, allocations: 0 / 1.557 GB, free: 6.219 MB / 1.279 GB Notification: Performance of Templates: time 0.7828/2.267, allocations: 88.41 MB / 1.643 GB, free: 277.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches