Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001665/0.001665, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001817/0.001817, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.684/2.684, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.00187, allocations: 64.12 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3182, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6867/1.005, allocations: 154.6 MB / 1.215 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02934/1.034, allocations: 21.49 MB / 1.236 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/1.037, allocations: 47.69 kB / 1.236 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/1.039, allocations: 1.134 MB / 1.237 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/1.041, allocations: 0.8216 MB / 1.238 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/1.042, allocations: 387.8 kB / 1.238 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001771/1.044, allocations: 1.247 MB / 1.24 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/1.045, allocations: 0.6999 MB / 1.24 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008289/1.045, allocations: 0.5568 MB / 1.241 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/1.047, allocations: 0.949 MB / 1.242 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/1.047, allocations: 64 kB / 1.242 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/1.047, allocations: 111.9 kB / 1.242 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/1.047, allocations: 336.7 kB / 1.242 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005163/1.048, allocations: 492.8 kB / 1.243 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/1.049, allocations: 0.92 MB / 1.244 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.049, allocations: 4 kB / 1.244 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/1.049, allocations: 3.938 kB / 1.244 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.271e-05/1.049, allocations: 0 / 1.244 GB, free: 1.348 MB / 0.9512 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.002454/1.052, allocations: 1.483 MB / 1.245 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.052, allocations: 8.031 kB / 1.245 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/1.052, allocations: 139.3 kB / 1.245 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/1.053, allocations: 0.6512 MB / 1.246 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/1.053, allocations: 74.69 kB / 1.246 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/1.053, allocations: 48 kB / 1.246 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/1.054, allocations: 0.5184 MB / 1.247 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.054, allocations: 4 kB / 1.247 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/1.054, allocations: 16 kB / 1.247 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.054, allocations: 8 kB / 1.247 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008872/1.055, allocations: 419.7 kB / 1.247 GB, free: 13.87 MB / 0.9669 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.003925/1.059, allocations: 2.808 MB / 1.25 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/1.06, allocations: 455.9 kB / 1.25 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/1.061, allocations: 292.6 kB / 1.25 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/1.061, allocations: 4.656 kB / 1.25 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006075/1.061, allocations: 294.1 kB / 1.251 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 2.384e-06/1.061, allocations: 0 / 1.251 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.003137/1.064, allocations: 1.245 MB / 1.252 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.065, allocations: 59.41 kB / 1.252 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/1.067, allocations: 1.748 MB / 1.254 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/1.067, allocations: 37.7 kB / 1.254 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/1.067, allocations: 0.5257 MB / 1.254 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/1.067, allocations: 145.9 kB / 1.254 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.067, allocations: 94.25 kB / 1.254 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.068, allocations: 326 kB / 1.255 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/1.068, allocations: 221 kB / 1.255 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/1.069, allocations: 332.8 kB / 1.255 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/1.07, allocations: 0.5136 MB / 1.256 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.07, allocations: 0 / 1.256 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001751/1.072, allocations: 0.8472 MB / 1.257 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.072, allocations: 4 kB / 1.257 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.072, allocations: 4 kB / 1.257 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/1.072, allocations: 191.1 kB / 1.257 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/1.072, allocations: 95.81 kB / 1.257 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/1.076, allocations: 2.997 MB / 1.26 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/1.077, allocations: 75.48 kB / 1.26 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/1.077, allocations: 24.38 kB / 1.26 GB, free: 0 / 0.9669 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.0005738/1.078, allocations: 388 kB / 1.26 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.078, allocations: 122.4 kB / 1.26 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/1.078, allocations: 143.7 kB / 1.261 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.078, allocations: 11.94 kB / 1.261 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.078, allocations: 0 / 1.261 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.078, allocations: 0 / 1.261 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/1.081, allocations: 1.578 MB / 1.262 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.081, allocations: 0 / 1.262 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/1.081, allocations: 43.91 kB / 1.262 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/1.081, allocations: 198.6 kB / 1.262 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/1.081, allocations: 8 kB / 1.262 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005299/1.087, allocations: 4.56 MB / 1.267 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.087, allocations: 0 / 1.267 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/1.089, allocations: 1.057 MB / 1.268 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/1.089, allocations: 211.6 kB / 1.268 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/1.089, allocations: 8.234 kB / 1.268 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/1.09, allocations: 43.86 kB / 1.268 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.09, allocations: 51.92 kB / 1.268 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/1.09, allocations: 19.98 kB / 1.268 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001731/1.092, allocations: 1.277 MB / 1.269 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/1.092, allocations: 0 / 1.269 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009499/1.093, allocations: 211.7 kB / 1.27 GB, free: 5.699 MB / 0.9825 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.001837/1.095, allocations: 485.9 kB / 1.27 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.096, allocations: 0.7493 MB / 1.271 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.096, allocations: 8 kB / 1.271 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.097, allocations: 0.5627 MB / 1.271 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.099, allocations: 197 kB / 1.272 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/1.103, allocations: 2.753 MB / 1.274 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.104, allocations: 1.142 MB / 1.275 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/1.104, allocations: 47.42 kB / 1.275 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.104, allocations: 0 / 1.275 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.02686/1.131, allocations: 17.83 MB / 1.293 GB, free: 14.05 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches