Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_9_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.001805/0.001805, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.002022/0.002022, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.41/1.41, 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 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8729, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2094/1.082, allocations: 160.5 MB / 1.245 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03816/1.121, allocations: 26.76 MB / 1.271 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/1.126, allocations: 75.62 kB / 1.272 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/1.129, allocations: 0.9868 MB / 1.272 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006772/1.136, allocations: 1.71 MB / 1.274 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005637/1.141, allocations: 1.709 MB / 1.276 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00784/1.149, allocations: 4.876 MB / 1.281 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006812/1.156, allocations: 4.211 MB / 1.285 GB, free: 4.762 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/1.16, allocations: 2.073 MB / 1.287 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004102/1.164, allocations: 2.456 MB / 1.289 GB, free: 228 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001703/1.166, allocations: 460 kB / 1.29 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/1.169, allocations: 1.069 MB / 1.291 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/1.171, allocations: 1.172 MB / 1.292 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003831/1.175, allocations: 2.048 MB / 1.294 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008613/1.184, allocations: 5.832 MB / 1.299 GB, free: 5.621 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/1.184, allocations: 3.984 kB / 1.299 GB, free: 5.617 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/1.184, allocations: 0 / 1.299 GB, free: 5.617 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002088/1.184, allocations: 0 / 1.299 GB, free: 5.617 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.01348/1.198, allocations: 4.562 MB / 1.304 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.198, allocations: 11.97 kB / 1.304 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/1.211, allocations: 2.765 MB / 1.307 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004893/1.216, allocations: 2.309 MB / 1.309 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/1.217, allocations: 250.4 kB / 1.309 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006991/1.217, allocations: 304 kB / 1.309 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/1.229, allocations: 5.166 MB / 1.314 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/1.229, allocations: 0 / 1.314 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003595/1.23, allocations: 128 kB / 1.315 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/1.23, allocations: 80 kB / 1.315 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/1.245, allocations: 6.287 MB / 1.321 GB, free: 15.5 MB / 1.061 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.02776/1.272, allocations: 14 MB / 1.334 GB, free: 1.055 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/1.284, allocations: 4.692 MB / 1.339 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005654/1.29, allocations: 2.429 MB / 1.341 GB, free: 9.922 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/1.291, allocations: 0.6735 MB / 1.342 GB, free: 9.117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006444/1.297, allocations: 2.623 MB / 1.345 GB, free: 6.453 MB / 1.076 GB Notification: Performance of pre-optimization done (n=278): time 6.582e-06/1.297, allocations: 4 kB / 1.345 GB, free: 6.449 MB / 1.076 GB Notification: Performance of matching and sorting (n=278): time 0.01918/1.316, allocations: 7.392 MB / 1.352 GB, free: 14.94 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.317, allocations: 210.1 kB / 1.352 GB, free: 14.69 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/1.321, allocations: 2.425 MB / 1.354 GB, free: 12.23 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005531/1.321, allocations: 85.69 kB / 1.354 GB, free: 12.14 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.322, allocations: 1.341 MB / 1.356 GB, free: 10.79 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.324, allocations: 0.9049 MB / 1.357 GB, free: 9.867 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/1.325, allocations: 0.5086 MB / 1.357 GB, free: 9.352 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.325, allocations: 309 kB / 1.357 GB, free: 9.047 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005066/1.33, allocations: 2.027 MB / 1.359 GB, free: 7.016 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005342/1.336, allocations: 2.337 MB / 1.362 GB, free: 4.605 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/1.346, allocations: 4.269 MB / 1.366 GB, free: 256 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/1.346, allocations: 0 / 1.366 GB, free: 256 kB / 1.092 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01399/1.36, allocations: 4.985 MB / 1.371 GB, free: 11.21 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-05/1.36, allocations: 8.109 kB / 1.371 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/1.36, allocations: 12.09 kB / 1.371 GB, free: 11.2 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008866/1.361, allocations: 237.8 kB / 1.371 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/1.366, allocations: 0.8112 MB / 1.372 GB, free: 10.15 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/1.371, allocations: 3.373 MB / 1.375 GB, free: 6.641 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.375, allocations: 0.5635 MB / 1.376 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008269/1.376, allocations: 111.9 kB / 1.376 GB, free: 5.965 MB / 1.107 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.003206/1.38, allocations: 0.9499 MB / 1.377 GB, free: 5.004 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.381, allocations: 272.6 kB / 1.377 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.397, allocations: 5.619 MB / 1.382 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/1.397, allocations: 28 kB / 1.382 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/1.397, allocations: 8 kB / 1.382 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.068e-05/1.397, allocations: 15.94 kB / 1.382 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007363/1.404, allocations: 3.683 MB / 1.386 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-05/1.405, allocations: 0 / 1.386 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004217/1.409, allocations: 0.7448 MB / 1.387 GB, free: 10.51 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009744/1.41, allocations: 264.6 kB / 1.387 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008647/1.411, allocations: 83.91 kB / 1.387 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/1.417, allocations: 5.233 MB / 1.392 GB, free: 4.629 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.417, allocations: 0 / 1.392 GB, free: 4.629 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02069/1.437, allocations: 8.014 MB / 1.4 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/1.44, allocations: 0.8326 MB / 1.401 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.441, allocations: 64.14 kB / 1.401 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/1.444, allocations: 419.4 kB / 1.401 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007081/1.445, allocations: 206 kB / 1.402 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/1.446, allocations: 115.9 kB / 1.402 GB, free: 10.88 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003474/1.449, allocations: 1.769 MB / 1.403 GB, free: 9.098 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.449, allocations: 0 / 1.403 GB, free: 9.098 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003955/1.453, allocations: 1.028 MB / 1.404 GB, free: 8.066 MB / 1.139 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.003114/1.456, allocations: 1.047 MB / 1.405 GB, free: 7.355 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.469, allocations: 4.898 MB / 1.41 GB, free: 2.414 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.469, allocations: 0 / 1.41 GB, free: 2.414 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.006741/1.476, allocations: 2.765 MB / 1.413 GB, free: 15.62 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/1.48, allocations: 0.6622 MB / 1.414 GB, free: 14.99 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/1.498, allocations: 7.806 MB / 1.421 GB, free: 7.133 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003076/1.501, allocations: 2.377 MB / 1.423 GB, free: 4.727 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002786/1.504, allocations: 327.1 kB / 1.424 GB, free: 4.41 MB / 1.154 GB Notification: Performance of SimCode: time 2.935e-06/1.504, allocations: 0 / 1.424 GB, free: 4.41 MB / 1.154 GB Notification: Performance of Templates: time 0.1211/1.625, allocations: 84.15 MB / 1.506 GB, free: 344 kB / 1.232 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches