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.001169/0.001169, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001107/0.001107, allocations: 187 kB / 17.34 MB, free: 5.719 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8211, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1666/0.9877, allocations: 162 MB / 1.367 GB, free: 11 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03461/1.022, allocations: 26.96 MB / 1.393 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/1.026, allocations: 71.62 kB / 1.393 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002847/1.029, allocations: 1.029 MB / 1.394 GB, free: 14.85 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005663/1.034, allocations: 1.799 MB / 1.396 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/1.039, allocations: 1.725 MB / 1.397 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007399/1.047, allocations: 5.298 MB / 1.403 GB, free: 6.02 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006503/1.053, allocations: 4.159 MB / 1.407 GB, free: 1.785 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/1.058, allocations: 2.139 MB / 1.409 GB, free: 15.64 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/1.062, allocations: 2.523 MB / 1.411 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001636/1.064, allocations: 456 kB / 1.412 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/1.067, allocations: 1.062 MB / 1.413 GB, free: 11.6 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001771/1.069, allocations: 1.172 MB / 1.414 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003877/1.073, allocations: 2.13 MB / 1.416 GB, free: 8.285 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009238/1.082, allocations: 5.976 MB / 1.422 GB, free: 2.293 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.082, allocations: 0 / 1.422 GB, free: 2.293 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.023e-06/1.082, allocations: 4 kB / 1.422 GB, free: 2.289 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002643/1.082, allocations: 0 / 1.422 GB, free: 2.289 MB / 1.139 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.01271/1.095, allocations: 4.632 MB / 1.426 GB, free: 13.57 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.095, allocations: 8.031 kB / 1.426 GB, free: 13.56 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/1.109, allocations: 2.776 MB / 1.429 GB, free: 10.77 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/1.115, allocations: 2.313 MB / 1.431 GB, free: 8.383 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/1.115, allocations: 242.4 kB / 1.431 GB, free: 8.145 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/1.116, allocations: 312 kB / 1.432 GB, free: 7.84 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/1.13, allocations: 5.162 MB / 1.437 GB, free: 2.598 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/1.13, allocations: 0 / 1.437 GB, free: 2.598 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/1.131, allocations: 136 kB / 1.437 GB, free: 2.465 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/1.131, allocations: 79.94 kB / 1.437 GB, free: 2.387 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/1.146, allocations: 6.295 MB / 1.443 GB, free: 12.07 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.02854/1.175, allocations: 14.78 MB / 1.458 GB, free: 12.67 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/1.187, allocations: 4.703 MB / 1.462 GB, free: 7.953 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005438/1.192, allocations: 2.437 MB / 1.465 GB, free: 5.504 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/1.193, allocations: 0.6773 MB / 1.465 GB, free: 4.695 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006122/1.199, allocations: 2.626 MB / 1.468 GB, free: 2.031 MB / 1.186 GB Notification: Performance of pre-optimization done (n=278): time 5.3e-06/1.199, allocations: 0 / 1.468 GB, free: 2.031 MB / 1.186 GB Notification: Performance of matching and sorting (n=278): time 0.01923/1.218, allocations: 7.4 MB / 1.475 GB, free: 10.51 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.219, allocations: 214.1 kB / 1.475 GB, free: 10.26 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/1.222, allocations: 2.438 MB / 1.478 GB, free: 7.793 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0007773/1.223, allocations: 85.8 kB / 1.478 GB, free: 7.703 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/1.224, allocations: 1.326 MB / 1.479 GB, free: 6.359 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.226, allocations: 0.9127 MB / 1.48 GB, free: 5.434 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000992/1.227, allocations: 0.5009 MB / 1.48 GB, free: 4.926 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/1.227, allocations: 305.1 kB / 1.481 GB, free: 4.625 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/1.232, allocations: 2.034 MB / 1.483 GB, free: 2.586 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005549/1.237, allocations: 2.337 MB / 1.485 GB, free: 180 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.248, allocations: 4.277 MB / 1.489 GB, free: 11.81 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.248, allocations: 0 / 1.489 GB, free: 11.81 MB / 1.217 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01284/1.261, allocations: 5.001 MB / 1.494 GB, free: 6.762 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/1.261, allocations: 8 kB / 1.494 GB, free: 6.754 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.261, allocations: 7.938 kB / 1.494 GB, free: 6.746 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/1.261, allocations: 236.7 kB / 1.494 GB, free: 6.512 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/1.266, allocations: 0.8112 MB / 1.495 GB, free: 5.699 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/1.27, allocations: 3.379 MB / 1.498 GB, free: 2.188 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/1.274, allocations: 0.5655 MB / 1.499 GB, free: 1.621 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006913/1.275, allocations: 111.9 kB / 1.499 GB, free: 1.512 MB / 1.217 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.002578/1.278, allocations: 0.9344 MB / 1.5 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.279, allocations: 276.6 kB / 1.5 GB, free: 300 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.293, allocations: 5.625 MB / 1.506 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.513e-05/1.293, allocations: 36 kB / 1.506 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.293, allocations: 0 / 1.506 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/1.293, allocations: 19.89 kB / 1.506 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/1.299, allocations: 3.688 MB / 1.509 GB, free: 6.805 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/1.299, allocations: 0 / 1.509 GB, free: 6.805 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004145/1.303, allocations: 0.7449 MB / 1.51 GB, free: 6.059 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008907/1.304, allocations: 268.2 kB / 1.51 GB, free: 5.789 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005497/1.304, allocations: 83.92 kB / 1.51 GB, free: 5.707 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004958/1.309, allocations: 5.227 MB / 1.515 GB, free: 184 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.309, allocations: 4.031 kB / 1.515 GB, free: 180 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/1.328, allocations: 8.026 MB / 1.523 GB, free: 8.059 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.33, allocations: 0.8288 MB / 1.524 GB, free: 7.207 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/1.331, allocations: 71.83 kB / 1.524 GB, free: 7.137 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003494/1.335, allocations: 419.3 kB / 1.525 GB, free: 6.727 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/1.335, allocations: 202 kB / 1.525 GB, free: 6.527 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002857/1.336, allocations: 103.9 kB / 1.525 GB, free: 6.426 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002721/1.338, allocations: 1.777 MB / 1.527 GB, free: 4.637 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.874e-06/1.338, allocations: 0 / 1.527 GB, free: 4.637 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003641/1.342, allocations: 1.068 MB / 1.528 GB, free: 3.566 MB / 1.248 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.002615/1.345, allocations: 1.056 MB / 1.529 GB, free: 2.852 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.356, allocations: 4.913 MB / 1.534 GB, free: 13.89 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.357, allocations: 3.938 kB / 1.534 GB, free: 13.89 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.006347/1.363, allocations: 2.777 MB / 1.536 GB, free: 11.08 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/1.366, allocations: 0.6908 MB / 1.537 GB, free: 10.42 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.382, allocations: 7.874 MB / 1.545 GB, free: 2.5 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/1.384, allocations: 2.377 MB / 1.547 GB, free: 96 kB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.386, allocations: 331.1 kB / 1.547 GB, free: 15.77 MB / 1.279 GB Notification: Performance of SimCode: time 1.422e-06/1.386, allocations: 0 / 1.547 GB, free: 15.77 MB / 1.279 GB Notification: Performance of Templates: time 0.7473/2.133, allocations: 85.11 MB / 1.63 GB, free: 291.9 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