Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.TestCase4,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.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_latest_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.001837/0.001837, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.002019/0.002019, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 469.4 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 65.17 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3119, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6435/0.9554, allocations: 156.7 MB / 1.217 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02588/0.9813, allocations: 21.75 MB / 1.239 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.9833, allocations: 59.62 kB / 1.239 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.9851, allocations: 1.161 MB / 1.24 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.9867, allocations: 0.8484 MB / 1.241 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.988, allocations: 442.3 kB / 1.241 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.9896, allocations: 1.259 MB / 1.242 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.9906, allocations: 0.6826 MB / 1.243 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.9915, allocations: 0.5569 MB / 1.243 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.9926, allocations: 0.9099 MB / 1.244 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.9927, allocations: 71.94 kB / 1.244 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.993, allocations: 104 kB / 1.244 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.9932, allocations: 320.7 kB / 1.245 GB, free: 204 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.9936, allocations: 484.8 kB / 1.245 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.9947, allocations: 1.183 MB / 1.246 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9947, allocations: 4 kB / 1.246 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9947, allocations: 0 / 1.246 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.9947, allocations: 0 / 1.246 GB, free: 14.53 MB / 0.9669 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.002109/0.9968, allocations: 1.475 MB / 1.248 GB, free: 13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.9969, allocations: 8.625 kB / 1.248 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.9971, allocations: 135.3 kB / 1.248 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.9978, allocations: 0.659 MB / 1.249 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.998, allocations: 74.69 kB / 1.249 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/0.9981, allocations: 48 kB / 1.249 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008906/0.999, allocations: 0.5184 MB / 1.249 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.999, allocations: 0 / 1.249 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.999, allocations: 16 kB / 1.249 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.9991, allocations: 16 kB / 1.249 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.9999, allocations: 419.6 kB / 1.25 GB, free: 11.05 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.003409/1.003, allocations: 2.811 MB / 1.252 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000991/1.004, allocations: 448.5 kB / 1.253 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/1.005, allocations: 286.6 kB / 1.253 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/1.005, allocations: 12.64 kB / 1.253 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005455/1.005, allocations: 302 kB / 1.253 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/1.005, allocations: 0 / 1.253 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002849/1.008, allocations: 1.245 MB / 1.255 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/1.008, allocations: 59.41 kB / 1.255 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/1.01, allocations: 1.744 MB / 1.256 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/1.01, allocations: 37.7 kB / 1.256 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/1.011, allocations: 0.5218 MB / 1.257 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.011, allocations: 149.9 kB / 1.257 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/1.011, allocations: 94.25 kB / 1.257 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.011, allocations: 326 kB / 1.257 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/1.012, allocations: 217 kB / 1.258 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/1.012, allocations: 328.9 kB / 1.258 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/1.013, allocations: 0.5104 MB / 1.258 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.013, allocations: 8 kB / 1.259 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001617/1.015, allocations: 0.8458 MB / 1.259 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.015, allocations: 8 kB / 1.259 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.015, allocations: 4 kB / 1.259 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/1.015, allocations: 190.8 kB / 1.26 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/1.016, allocations: 99.81 kB / 1.26 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/1.019, allocations: 2.994 MB / 1.263 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/1.02, allocations: 75.55 kB / 1.263 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/1.02, allocations: 23.98 kB / 1.263 GB, free: 13.18 MB / 0.9825 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.0005306/1.02, allocations: 383.3 kB / 1.263 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/1.02, allocations: 122.4 kB / 1.263 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/1.021, allocations: 135.7 kB / 1.263 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.021, allocations: 8 kB / 1.263 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.021, allocations: 0 / 1.263 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.021, allocations: 7.984 kB / 1.263 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/1.023, allocations: 1.563 MB / 1.265 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.023, allocations: 0 / 1.265 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/1.023, allocations: 43.97 kB / 1.265 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/1.024, allocations: 198.2 kB / 1.265 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/1.024, allocations: 15.98 kB / 1.265 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/1.029, allocations: 4.572 MB / 1.269 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.029, allocations: 0 / 1.269 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.031, allocations: 1.064 MB / 1.271 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/1.031, allocations: 211.6 kB / 1.271 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/1.031, allocations: 15.98 kB / 1.271 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/1.031, allocations: 27.97 kB / 1.271 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.031, allocations: 51.92 kB / 1.271 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/1.032, allocations: 16 kB / 1.271 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001418/1.033, allocations: 1.281 MB / 1.272 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.8e-07/1.033, allocations: 0 / 1.272 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007527/1.034, allocations: 211.6 kB / 1.272 GB, free: 2.887 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.001094/1.035, allocations: 478.2 kB / 1.273 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001621/1.036, allocations: 0.7544 MB / 1.273 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/1.036, allocations: 0 / 1.273 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008731/1.037, allocations: 0.5593 MB / 1.274 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/1.038, allocations: 210.8 kB / 1.274 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/1.042, allocations: 2.435 MB / 1.277 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/1.043, allocations: 1.145 MB / 1.278 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.043, allocations: 47.42 kB / 1.278 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.043, allocations: 0 / 1.278 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of Templates: time 0.02573/1.069, allocations: 17.83 MB / 1.295 GB, free: 11.55 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches