Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 103.6 kB / 16.41 MB, free: 6.496 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.001962/0.001962, allocations: 189.7 kB / 17.34 MB, free: 5.727 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.328/1.328, 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 10.1.1-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.11 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8728, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1629/1.036, allocations: 156.8 MB / 1.32 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02595/1.062, allocations: 21.75 MB / 1.342 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/1.064, allocations: 59.69 kB / 1.342 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/1.066, allocations: 1.165 MB / 1.343 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/1.067, allocations: 0.8679 MB / 1.344 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/1.069, allocations: 442 kB / 1.344 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001664/1.07, allocations: 1.259 MB / 1.345 GB, free: 12.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/1.071, allocations: 0.6792 MB / 1.346 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009013/1.072, allocations: 0.5646 MB / 1.347 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/1.073, allocations: 0.9099 MB / 1.347 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/1.073, allocations: 68 kB / 1.347 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/1.074, allocations: 112 kB / 1.348 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/1.074, allocations: 316.7 kB / 1.348 GB, free: 10.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/1.075, allocations: 488.8 kB / 1.348 GB, free: 9.742 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/1.076, allocations: 1.214 MB / 1.35 GB, free: 8.527 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.076, allocations: 0 / 1.35 GB, free: 8.527 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/1.076, allocations: 0 / 1.35 GB, free: 8.527 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.886e-05/1.076, allocations: 0 / 1.35 GB, free: 8.527 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002391/1.078, allocations: 1.525 MB / 1.351 GB, free: 6.949 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.078, allocations: 12.92 kB / 1.351 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/1.079, allocations: 144 kB / 1.351 GB, free: 6.797 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/1.08, allocations: 0.6795 MB / 1.352 GB, free: 6.066 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/1.08, allocations: 66.69 kB / 1.352 GB, free: 5.992 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/1.08, allocations: 51.98 kB / 1.352 GB, free: 5.941 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/1.081, allocations: 0.5184 MB / 1.352 GB, free: 5.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.081, allocations: 0 / 1.352 GB, free: 5.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/1.081, allocations: 16 kB / 1.352 GB, free: 5.395 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/1.081, allocations: 12 kB / 1.352 GB, free: 5.383 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/1.082, allocations: 415.7 kB / 1.353 GB, free: 4.977 MB / 1.076 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.003615/1.085, allocations: 2.796 MB / 1.356 GB, free: 1.934 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/1.086, allocations: 459.4 kB / 1.356 GB, free: 1.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/1.087, allocations: 289.3 kB / 1.356 GB, free: 1.195 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/1.087, allocations: 12.33 kB / 1.356 GB, free: 1.184 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005718/1.088, allocations: 298.5 kB / 1.357 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.706e-06/1.088, allocations: 4 kB / 1.357 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.002911/1.09, allocations: 1.238 MB / 1.358 GB, free: 15.59 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.091, allocations: 55.41 kB / 1.358 GB, free: 15.52 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/1.092, allocations: 1.752 MB / 1.36 GB, free: 13.76 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/1.092, allocations: 41.69 kB / 1.36 GB, free: 13.71 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/1.093, allocations: 0.5221 MB / 1.36 GB, free: 13.19 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/1.093, allocations: 158.7 kB / 1.36 GB, free: 13.03 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/1.093, allocations: 94.25 kB / 1.36 GB, free: 12.93 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.093, allocations: 330 kB / 1.361 GB, free: 12.61 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/1.094, allocations: 213 kB / 1.361 GB, free: 12.4 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/1.095, allocations: 336.8 kB / 1.361 GB, free: 12.03 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000893/1.096, allocations: 0.5109 MB / 1.362 GB, free: 11.48 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.096, allocations: 7.938 kB / 1.362 GB, free: 11.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001688/1.097, allocations: 0.8457 MB / 1.363 GB, free: 10.62 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.097, allocations: 8 kB / 1.363 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.097, allocations: 4 kB / 1.363 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005517/1.098, allocations: 188.8 kB / 1.363 GB, free: 10.42 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.098, allocations: 95.81 kB / 1.363 GB, free: 10.33 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/1.102, allocations: 3.003 MB / 1.366 GB, free: 7.191 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/1.102, allocations: 75.62 kB / 1.366 GB, free: 7.117 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/1.102, allocations: 20.06 kB / 1.366 GB, free: 7.098 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005696/1.103, allocations: 391.8 kB / 1.366 GB, free: 6.707 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/1.103, allocations: 123.2 kB / 1.366 GB, free: 6.586 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/1.103, allocations: 139.7 kB / 1.366 GB, free: 6.441 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.103, allocations: 4 kB / 1.366 GB, free: 6.438 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.104, allocations: 4 kB / 1.366 GB, free: 6.434 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/1.104, allocations: 7.969 kB / 1.366 GB, free: 6.426 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/1.106, allocations: 1.564 MB / 1.368 GB, free: 4.805 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.106, allocations: 0 / 1.368 GB, free: 4.805 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/1.106, allocations: 51.89 kB / 1.368 GB, free: 4.754 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/1.107, allocations: 193.5 kB / 1.368 GB, free: 4.559 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/1.107, allocations: 15.98 kB / 1.368 GB, free: 4.543 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004677/1.112, allocations: 4.554 MB / 1.373 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-06/1.112, allocations: 4.062 kB / 1.373 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/1.113, allocations: 1.059 MB / 1.374 GB, free: 14.64 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/1.114, allocations: 224.2 kB / 1.374 GB, free: 14.4 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-05/1.114, allocations: 12 kB / 1.374 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/1.114, allocations: 31.97 kB / 1.374 GB, free: 14.36 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.114, allocations: 51.92 kB / 1.374 GB, free: 14.3 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/1.114, allocations: 16 kB / 1.374 GB, free: 14.29 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001346/1.116, allocations: 1.277 MB / 1.375 GB, free: 13.01 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.21e-07/1.116, allocations: 0 / 1.375 GB, free: 13.01 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008137/1.117, allocations: 203.8 kB / 1.376 GB, free: 12.81 MB / 1.107 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,13,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.001146/1.118, allocations: 490.2 kB / 1.376 GB, free: 12.51 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001598/1.119, allocations: 0.7332 MB / 1.377 GB, free: 11.76 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.119, allocations: 0 / 1.377 GB, free: 11.76 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009118/1.12, allocations: 0.5444 MB / 1.377 GB, free: 11.19 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/1.121, allocations: 204 kB / 1.377 GB, free: 11 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/1.125, allocations: 2.461 MB / 1.38 GB, free: 8.5 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/1.126, allocations: 1.146 MB / 1.381 GB, free: 7.328 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/1.126, allocations: 51.42 kB / 1.381 GB, free: 7.277 MB / 1.107 GB Notification: Performance of SimCode: time 5.51e-07/1.126, allocations: 3.938 kB / 1.381 GB, free: 7.273 MB / 1.107 GB Notification: Performance of Templates: time 0.02418/1.15, allocations: 17.88 MB / 1.398 GB, free: 5.406 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches