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) 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 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.11 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1613/0.4637, allocations: 156.8 MB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.025/0.4887, allocations: 21.75 MB / 1.243 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.491, allocations: 47.75 kB / 1.243 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.4927, allocations: 1.169 MB / 1.244 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.4944, allocations: 0.8562 MB / 1.245 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.4957, allocations: 438.3 kB / 1.245 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00149/0.4972, allocations: 1.247 MB / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009709/0.4982, allocations: 0.6834 MB / 1.247 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008856/0.4991, allocations: 0.5529 MB / 1.247 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.5002, allocations: 0.9216 MB / 1.248 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.5004, allocations: 64 kB / 1.248 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.5008, allocations: 115.9 kB / 1.248 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.5011, allocations: 312.8 kB / 1.249 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005151/0.5016, allocations: 492.8 kB / 1.249 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5722/1.074, allocations: 1.172 MB / 1.25 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.074, allocations: 0 / 1.25 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.605e-06/1.074, allocations: 1 kB / 1.25 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.074, allocations: 0.9688 kB / 1.25 GB, free: 10.14 MB / 0.9981 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.002659/1.077, allocations: 1.48 MB / 1.252 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.077, allocations: 9.906 kB / 1.252 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/1.077, allocations: 131.3 kB / 1.252 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/1.078, allocations: 0.6584 MB / 1.253 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.078, allocations: 73.8 kB / 1.253 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.078, allocations: 46.69 kB / 1.253 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/1.079, allocations: 0.5233 MB / 1.253 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/1.079, allocations: 0.875 kB / 1.253 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/1.079, allocations: 17.55 kB / 1.253 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/1.079, allocations: 11.2 kB / 1.253 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/1.08, allocations: 416.7 kB / 1.254 GB, free: 8.754 MB / 0.9981 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.003817/1.084, allocations: 2.742 MB / 1.256 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.085, allocations: 439.7 kB / 1.257 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/1.086, allocations: 302.6 kB / 1.257 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/1.086, allocations: 6.203 kB / 1.257 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000597/1.087, allocations: 293.8 kB / 1.257 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.395e-06/1.087, allocations: 0 / 1.257 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002721/1.089, allocations: 1.148 MB / 1.258 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.089, allocations: 58.72 kB / 1.259 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/1.091, allocations: 1.761 MB / 1.26 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/1.091, allocations: 36.39 kB / 1.26 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/1.092, allocations: 0.5254 MB / 1.261 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/1.092, allocations: 147.9 kB / 1.261 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.092, allocations: 99.12 kB / 1.261 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/1.092, allocations: 326.8 kB / 1.261 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/1.093, allocations: 214 kB / 1.262 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/1.093, allocations: 340.3 kB / 1.262 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/1.094, allocations: 0.5141 MB / 1.262 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.094, allocations: 2.656 kB / 1.262 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001388/1.095, allocations: 0.8026 MB / 1.263 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.095, allocations: 8.719 kB / 1.263 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.095, allocations: 5.656 kB / 1.263 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/1.096, allocations: 138.4 kB / 1.263 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/1.096, allocations: 104.8 kB / 1.263 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/1.099, allocations: 2.607 MB / 1.266 GB, free: 20.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/1.1, allocations: 72.02 kB / 1.266 GB, free: 20.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/1.1, allocations: 25.89 kB / 1.266 GB, free: 20.19 MB / 1.014 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.00059/1.1, allocations: 389.5 kB / 1.266 GB, free: 20.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.1, allocations: 120.1 kB / 1.267 GB, free: 20.01 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/1.101, allocations: 140.4 kB / 1.267 GB, free: 19.99 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.101, allocations: 4.641 kB / 1.267 GB, free: 19.99 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.101, allocations: 7.031 kB / 1.267 GB, free: 19.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/1.101, allocations: 2.594 kB / 1.267 GB, free: 19.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/1.103, allocations: 1.486 MB / 1.268 GB, free: 19.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.103, allocations: 0.5156 kB / 1.268 GB, free: 19.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/1.103, allocations: 49.42 kB / 1.268 GB, free: 19.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/1.104, allocations: 168.5 kB / 1.268 GB, free: 19.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/1.104, allocations: 12.47 kB / 1.268 GB, free: 19.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/1.107, allocations: 4.026 MB / 1.272 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.107, allocations: 1.625 kB / 1.272 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/1.109, allocations: 0.9949 MB / 1.273 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/1.11, allocations: 212.5 kB / 1.273 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.11, allocations: 14.12 kB / 1.273 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/1.11, allocations: 31.75 kB / 1.273 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.11, allocations: 49.89 kB / 1.274 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/1.11, allocations: 16.28 kB / 1.274 GB, free: 16.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001735/1.112, allocations: 1.29 MB / 1.275 GB, free: 16.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.21e-07/1.112, allocations: 0 / 1.275 GB, free: 16.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008724/1.113, allocations: 193.4 kB / 1.275 GB, free: 16.24 MB / 1.014 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.001138/1.114, allocations: 493.3 kB / 1.275 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.116, allocations: 0.6998 MB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.116, allocations: 0 / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009923/1.117, allocations: 0.5291 MB / 1.277 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/1.118, allocations: 205.4 kB / 1.277 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/1.122, allocations: 2.389 MB / 1.279 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/1.123, allocations: 1.154 MB / 1.28 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003533/1.123, allocations: 98.31 kB / 1.28 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/1.123, allocations: 46.22 kB / 1.28 GB, free: 14.23 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.123, allocations: 1 kB / 1.28 GB, free: 14.23 MB / 1.014 GB Notification: Performance of Templates: time 0.01949/1.143, allocations: 10.02 MB / 1.29 GB, free: 13.66 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (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 & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches