Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001925/0.001925, allocations: 193.7 kB / 17.2 MB, free: 5.594 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.464/1.464, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.389/3.389, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 72.03 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8619, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2026/1.065, allocations: 156.8 MB / 1.236 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02774/1.092, allocations: 21.76 MB / 1.257 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/1.094, allocations: 55.69 kB / 1.257 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/1.096, allocations: 1.161 MB / 1.258 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/1.097, allocations: 0.8601 MB / 1.259 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/1.099, allocations: 433.9 kB / 1.26 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001455/1.1, allocations: 1.259 MB / 1.261 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008872/1.101, allocations: 0.6733 MB / 1.262 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/1.102, allocations: 0.5491 MB / 1.262 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/1.103, allocations: 0.9138 MB / 1.263 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/1.103, allocations: 64 kB / 1.263 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/1.103, allocations: 112 kB / 1.263 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003108/1.104, allocations: 320.7 kB / 1.264 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004807/1.104, allocations: 492.8 kB / 1.264 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/1.105, allocations: 1.179 MB / 1.265 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.105, allocations: 0 / 1.265 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/1.105, allocations: 4 kB / 1.265 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.626e-05/1.105, allocations: 0 / 1.265 GB, free: 3.762 MB / 0.9825 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.002361/1.108, allocations: 1.478 MB / 1.267 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/1.108, allocations: 12.03 kB / 1.267 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/1.108, allocations: 139.2 kB / 1.267 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008861/1.109, allocations: 0.6473 MB / 1.267 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/1.109, allocations: 78.69 kB / 1.267 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/1.109, allocations: 51.94 kB / 1.267 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009796/1.11, allocations: 0.5145 MB / 1.268 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.11, allocations: 0 / 1.268 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/1.11, allocations: 19.98 kB / 1.268 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/1.11, allocations: 12 kB / 1.268 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008708/1.111, allocations: 415.7 kB / 1.268 GB, free: 288 kB / 0.9825 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.003812/1.115, allocations: 2.739 MB / 1.271 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/1.116, allocations: 456 kB / 1.272 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/1.117, allocations: 293.3 kB / 1.272 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/1.117, allocations: 12.59 kB / 1.272 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/1.117, allocations: 291.1 kB / 1.272 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/1.117, allocations: 0 / 1.272 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002783/1.12, allocations: 1.156 MB / 1.273 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/1.12, allocations: 55.41 kB / 1.273 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.122, allocations: 1.76 MB / 1.275 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/1.122, allocations: 41.69 kB / 1.275 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/1.123, allocations: 0.5249 MB / 1.276 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/1.123, allocations: 146 kB / 1.276 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.123, allocations: 98.19 kB / 1.276 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.123, allocations: 330 kB / 1.276 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/1.124, allocations: 213 kB / 1.276 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/1.124, allocations: 335.2 kB / 1.277 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/1.125, allocations: 0.5231 MB / 1.277 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.125, allocations: 3.938 kB / 1.277 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00164/1.127, allocations: 0.8036 MB / 1.278 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.127, allocations: 12.06 kB / 1.278 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.127, allocations: 4 kB / 1.278 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/1.127, allocations: 140.7 kB / 1.278 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/1.128, allocations: 99.81 kB / 1.278 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/1.131, allocations: 2.612 MB / 1.281 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/1.131, allocations: 75.39 kB / 1.281 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/1.132, allocations: 20.06 kB / 1.281 GB, free: 2.992 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005334/1.132, allocations: 391.3 kB / 1.281 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/1.132, allocations: 118.5 kB / 1.281 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/1.132, allocations: 139.7 kB / 1.281 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/1.132, allocations: 8 kB / 1.281 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.132, allocations: 0 / 1.281 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.132, allocations: 3.984 kB / 1.281 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/1.135, allocations: 1.496 MB / 1.283 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.135, allocations: 0 / 1.283 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/1.135, allocations: 47.91 kB / 1.283 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/1.136, allocations: 161.6 kB / 1.283 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/1.136, allocations: 15.98 kB / 1.283 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/1.14, allocations: 4.018 MB / 1.287 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.14, allocations: 0 / 1.287 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/1.142, allocations: 0.9949 MB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/1.142, allocations: 219.5 kB / 1.288 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/1.142, allocations: 15.98 kB / 1.288 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/1.143, allocations: 31.91 kB / 1.288 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.143, allocations: 51.92 kB / 1.288 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/1.143, allocations: 19.94 kB / 1.288 GB, free: 10.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001522/1.144, allocations: 1.285 MB / 1.29 GB, free: 9.605 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.144, allocations: 0 / 1.29 GB, free: 9.605 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007594/1.145, allocations: 195.7 kB / 1.29 GB, free: 9.414 MB / 1.014 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,12,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.001739/1.147, allocations: 486.2 kB / 1.29 GB, free: 9.117 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.148, allocations: 0.694 MB / 1.291 GB, free: 8.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.148, allocations: 0 / 1.291 GB, free: 8.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/1.149, allocations: 0.5325 MB / 1.291 GB, free: 7.852 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009886/1.15, allocations: 198.5 kB / 1.292 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/1.154, allocations: 2.453 MB / 1.294 GB, free: 5.172 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/1.155, allocations: 1.142 MB / 1.295 GB, free: 4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/1.155, allocations: 51.42 kB / 1.295 GB, free: 3.949 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/1.155, allocations: 0 / 1.295 GB, free: 3.949 MB / 1.014 GB Notification: Performance of Templates: time 0.02796/1.183, allocations: 17.8 MB / 1.313 GB, free: 2.188 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches