Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 103.3 kB / 16.41 MB, free: 6.5 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.001234/0.001234, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.399/2.399, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 56.12 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8766, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1585/1.035, allocations: 157.9 MB / 1.321 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02547/1.061, allocations: 22.13 MB / 1.343 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/1.063, allocations: 63.62 kB / 1.343 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/1.065, allocations: 1.379 MB / 1.344 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/1.067, allocations: 1.027 MB / 1.345 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/1.069, allocations: 0.6509 MB / 1.346 GB, free: 12.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002667/1.071, allocations: 1.696 MB / 1.348 GB, free: 10.31 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/1.073, allocations: 0.9705 MB / 1.349 GB, free: 9.316 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/1.074, allocations: 0.7397 MB / 1.349 GB, free: 8.574 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/1.076, allocations: 1.187 MB / 1.351 GB, free: 7.383 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002148/1.076, allocations: 88 kB / 1.351 GB, free: 7.297 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/1.077, allocations: 152 kB / 1.351 GB, free: 7.148 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/1.077, allocations: 408.3 kB / 1.351 GB, free: 6.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007363/1.078, allocations: 0.6598 MB / 1.352 GB, free: 6.086 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/1.08, allocations: 1.601 MB / 1.353 GB, free: 4.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.08, allocations: 4 kB / 1.353 GB, free: 4.477 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.462e-06/1.08, allocations: 0 / 1.353 GB, free: 4.477 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.028e-05/1.08, allocations: 0 / 1.353 GB, free: 4.477 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003377/1.083, allocations: 1.911 MB / 1.355 GB, free: 2.508 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.083, allocations: 12.91 kB / 1.355 GB, free: 2.496 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/1.083, allocations: 186.6 kB / 1.356 GB, free: 2.312 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/1.085, allocations: 0.8866 MB / 1.356 GB, free: 1.379 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/1.085, allocations: 87 kB / 1.356 GB, free: 1.289 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/1.085, allocations: 64 kB / 1.357 GB, free: 1.227 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.086, allocations: 0.7215 MB / 1.357 GB, free: 488 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.086, allocations: 0 / 1.357 GB, free: 488 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/1.087, allocations: 31.98 kB / 1.357 GB, free: 456 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/1.087, allocations: 16 kB / 1.357 GB, free: 440 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.088, allocations: 0.5438 MB / 1.358 GB, free: 15.89 MB / 1.092 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.005146/1.093, allocations: 3.605 MB / 1.361 GB, free: 12 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/1.094, allocations: 0.6126 MB / 1.362 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007685/1.095, allocations: 374.3 kB / 1.362 GB, free: 11.01 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/1.095, allocations: 8.562 kB / 1.362 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007304/1.096, allocations: 378.9 kB / 1.363 GB, free: 10.62 MB / 1.092 GB Notification: Performance of pre-optimization done (n=65): time 2.956e-06/1.096, allocations: 0 / 1.363 GB, free: 10.62 MB / 1.092 GB Notification: Performance of matching and sorting (n=65): time 0.004904/1.101, allocations: 1.784 MB / 1.364 GB, free: 8.785 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.101, allocations: 59.97 kB / 1.364 GB, free: 8.715 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/1.104, allocations: 2.259 MB / 1.367 GB, free: 6.449 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/1.104, allocations: 37.7 kB / 1.367 GB, free: 6.406 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/1.104, allocations: 0.7226 MB / 1.367 GB, free: 5.68 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/1.104, allocations: 216.9 kB / 1.368 GB, free: 5.465 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/1.105, allocations: 130.6 kB / 1.368 GB, free: 5.332 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.105, allocations: 334 kB / 1.368 GB, free: 5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/1.105, allocations: 277.8 kB / 1.368 GB, free: 4.73 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/1.106, allocations: 424.8 kB / 1.369 GB, free: 4.266 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.107, allocations: 0.6577 MB / 1.369 GB, free: 3.559 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.107, allocations: 7.938 kB / 1.369 GB, free: 3.551 MB / 1.092 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002398/1.11, allocations: 1.112 MB / 1.37 GB, free: 2.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.11, allocations: 11.98 kB / 1.37 GB, free: 2.418 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.11, allocations: 4 kB / 1.37 GB, free: 2.414 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008644/1.111, allocations: 269.5 kB / 1.371 GB, free: 2.148 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/1.111, allocations: 123.7 kB / 1.371 GB, free: 2.027 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/1.117, allocations: 3.717 MB / 1.374 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/1.117, allocations: 91.38 kB / 1.375 GB, free: 14.09 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/1.118, allocations: 24 kB / 1.375 GB, free: 14.07 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: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007453/1.118, allocations: 465.1 kB / 1.375 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/1.119, allocations: 157.9 kB / 1.375 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/1.119, allocations: 187.7 kB / 1.375 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.119, allocations: 4 kB / 1.375 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.119, allocations: 11.94 kB / 1.375 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.119, allocations: 3.984 kB / 1.375 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/1.123, allocations: 2.03 MB / 1.377 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.123, allocations: 11.92 kB / 1.377 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/1.123, allocations: 55.97 kB / 1.377 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008003/1.124, allocations: 289.2 kB / 1.378 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/1.124, allocations: 16 kB / 1.378 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006575/1.131, allocations: 5.243 MB / 1.383 GB, free: 5.262 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.131, allocations: 3.984 kB / 1.383 GB, free: 5.258 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/1.133, allocations: 1.398 MB / 1.384 GB, free: 3.836 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/1.134, allocations: 263 kB / 1.384 GB, free: 3.559 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/1.134, allocations: 16 kB / 1.384 GB, free: 3.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/1.134, allocations: 31.97 kB / 1.384 GB, free: 3.512 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.135, allocations: 72.45 kB / 1.385 GB, free: 3.441 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/1.135, allocations: 23.98 kB / 1.385 GB, free: 3.418 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001968/1.137, allocations: 1.631 MB / 1.386 GB, free: 1.793 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.137, allocations: 4 kB / 1.386 GB, free: 1.789 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000951/1.138, allocations: 271.4 kB / 1.386 GB, free: 1.523 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/1.139, allocations: 491.1 kB / 1.387 GB, free: 1.215 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001993/1.141, allocations: 0.899 MB / 1.388 GB, free: 308 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.141, allocations: 0 / 1.388 GB, free: 308 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.142, allocations: 0.6753 MB / 1.388 GB, free: 15.6 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.143, allocations: 280.9 kB / 1.389 GB, free: 15.33 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/1.148, allocations: 3.144 MB / 1.392 GB, free: 12.15 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009799/1.149, allocations: 1.314 MB / 1.393 GB, free: 10.8 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/1.149, allocations: 59.44 kB / 1.393 GB, free: 10.75 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/1.149, allocations: 3.938 kB / 1.393 GB, free: 10.75 MB / 1.123 GB Notification: Performance of Templates: time 0.03058/1.18, allocations: 23.73 MB / 1.416 GB, free: 3.043 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time