Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008038/0.008038, allocations: 102.7 kB / 15.74 MB, free: 5.551 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.001781/0.001781, allocations: 194.6 kB / 16.67 MB, free: 5.48 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.339/1.339, allocations: 222.9 MB / 240.4 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.438/2.438, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 75.88 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7471, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1547/0.9018, allocations: 157 MB / 1.32 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.024/0.9259, allocations: 21.87 MB / 1.341 GB, free: 276 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.9276, allocations: 59.69 kB / 1.341 GB, free: 216 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.9292, allocations: 1.336 MB / 1.343 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.9306, allocations: 0.9965 MB / 1.344 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.9318, allocations: 0.503 MB / 1.344 GB, free: 13.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.933, allocations: 1.434 MB / 1.346 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.9339, allocations: 0.7772 MB / 1.346 GB, free: 11.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006514/0.9345, allocations: 0.6542 MB / 1.347 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.9356, allocations: 1.105 MB / 1.348 GB, free: 9.383 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.9357, allocations: 72 kB / 1.348 GB, free: 9.312 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.936, allocations: 120 kB / 1.348 GB, free: 9.195 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.9363, allocations: 368.5 kB / 1.349 GB, free: 8.832 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.9367, allocations: 0.5626 MB / 1.349 GB, free: 8.266 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.9381, allocations: 1.374 MB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.9381, allocations: 4 kB / 1.35 GB, free: 6.887 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9381, allocations: 0 / 1.35 GB, free: 6.887 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.9381, allocations: 0 / 1.35 GB, free: 6.887 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002412/0.9406, allocations: 1.725 MB / 1.352 GB, free: 5.105 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.9406, allocations: 20.86 kB / 1.352 GB, free: 5.086 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.9409, allocations: 167.9 kB / 1.352 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009863/0.9419, allocations: 0.7685 MB / 1.353 GB, free: 4.105 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.942, allocations: 74.69 kB / 1.353 GB, free: 4.023 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.9421, allocations: 51.98 kB / 1.353 GB, free: 3.973 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/0.9431, allocations: 0.573 MB / 1.354 GB, free: 3.387 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.9431, allocations: 8 kB / 1.354 GB, free: 3.379 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.9432, allocations: 16 kB / 1.354 GB, free: 3.363 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.9432, allocations: 12 kB / 1.354 GB, free: 3.352 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.9441, allocations: 447.7 kB / 1.354 GB, free: 2.91 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.003574/0.9477, allocations: 3.01 MB / 1.357 GB, free: 15.62 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.9487, allocations: 0.4956 MB / 1.358 GB, free: 15.12 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.9493, allocations: 313.4 kB / 1.358 GB, free: 14.81 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.9494, allocations: 4.375 kB / 1.358 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.95, allocations: 325.2 kB / 1.358 GB, free: 14.48 MB / 1.092 GB Notification: Performance of pre-optimization done (n=52): time 1.974e-06/0.95, allocations: 0 / 1.358 GB, free: 14.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=52): time 0.002982/0.953, allocations: 1.364 MB / 1.36 GB, free: 13.07 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.953, allocations: 64.39 kB / 1.36 GB, free: 13 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.955, allocations: 2.116 MB / 1.362 GB, free: 10.87 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.9551, allocations: 37.7 kB / 1.362 GB, free: 10.82 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/0.9556, allocations: 0.6288 MB / 1.362 GB, free: 10.19 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.9557, allocations: 178.5 kB / 1.363 GB, free: 10.02 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.9559, allocations: 110.3 kB / 1.363 GB, free: 9.902 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.956, allocations: 330 kB / 1.363 GB, free: 9.574 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.9565, allocations: 233.1 kB / 1.363 GB, free: 9.344 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.9571, allocations: 350.9 kB / 1.363 GB, free: 8.965 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.958, allocations: 0.5496 MB / 1.364 GB, free: 8.379 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.9581, allocations: 0 / 1.364 GB, free: 8.379 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001657/0.9597, allocations: 0.9187 MB / 1.365 GB, free: 7.449 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.9598, allocations: 8 kB / 1.365 GB, free: 7.441 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9598, allocations: 0 / 1.365 GB, free: 7.441 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/0.9603, allocations: 199 kB / 1.365 GB, free: 7.246 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.9607, allocations: 107.8 kB / 1.365 GB, free: 7.141 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/0.9642, allocations: 3.062 MB / 1.368 GB, free: 3.941 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.9647, allocations: 79.59 kB / 1.368 GB, free: 3.863 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.9647, allocations: 24.05 kB / 1.368 GB, free: 3.84 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: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004946/0.9652, allocations: 447.7 kB / 1.369 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.9654, allocations: 143.1 kB / 1.369 GB, free: 3.254 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.9656, allocations: 162 kB / 1.369 GB, free: 3.094 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.9656, allocations: 11.94 kB / 1.369 GB, free: 3.082 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.9657, allocations: 0 / 1.369 GB, free: 3.082 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.9657, allocations: 7.922 kB / 1.369 GB, free: 3.074 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.9683, allocations: 1.735 MB / 1.371 GB, free: 1.266 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.9683, allocations: 0 / 1.371 GB, free: 1.266 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.9685, allocations: 51.97 kB / 1.371 GB, free: 1.215 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.969, allocations: 200.7 kB / 1.371 GB, free: 1.016 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.969, allocations: 19.98 kB / 1.371 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004172/0.9732, allocations: 4.595 MB / 1.375 GB, free: 12.12 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9732, allocations: 4 kB / 1.375 GB, free: 12.12 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.9752, allocations: 1.179 MB / 1.377 GB, free: 10.91 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.9755, allocations: 244.1 kB / 1.377 GB, free: 10.65 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.9756, allocations: 12 kB / 1.377 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.976, allocations: 35.95 kB / 1.377 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.9761, allocations: 60.36 kB / 1.377 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.9762, allocations: 15.98 kB / 1.377 GB, free: 10.53 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001517/0.9777, allocations: 1.552 MB / 1.379 GB, free: 8.98 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9777, allocations: 0 / 1.379 GB, free: 8.98 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007414/0.9784, allocations: 223.7 kB / 1.379 GB, free: 8.762 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: 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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.00109/0.9795, allocations: 474.6 kB / 1.379 GB, free: 8.48 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.9811, allocations: 0.7648 MB / 1.38 GB, free: 7.703 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9811, allocations: 0 / 1.38 GB, free: 7.703 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009088/0.982, allocations: 0.5976 MB / 1.381 GB, free: 7.082 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.983, allocations: 231.3 kB / 1.381 GB, free: 6.863 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.9868, allocations: 2.819 MB / 1.383 GB, free: 4.008 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.9876, allocations: 1.254 MB / 1.385 GB, free: 2.723 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000263/0.9878, allocations: 97.05 kB / 1.385 GB, free: 2.625 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.988, allocations: 51.42 kB / 1.385 GB, free: 2.574 MB / 1.107 GB Notification: Performance of SimCode: time 3.3e-07/0.988, allocations: 0 / 1.385 GB, free: 2.574 MB / 1.107 GB Notification: Performance of Templates: time 0.02014/1.008, allocations: 11.59 MB / 1.396 GB, free: 7.094 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches