Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.001789/0.001789, allocations: 195.5 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 66.28 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.287, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.7106/0.9976, allocations: 154.6 MB / 1.101 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02859/1.026, allocations: 21.5 MB / 1.122 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00305/1.029, allocations: 49.47 kB / 1.122 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/1.032, allocations: 1.134 MB / 1.123 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/1.034, allocations: 0.8158 MB / 1.124 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/1.035, allocations: 381.2 kB / 1.124 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002012/1.037, allocations: 1.257 MB / 1.125 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/1.039, allocations: 0.6853 MB / 1.126 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/1.04, allocations: 0.5524 MB / 1.126 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/1.042, allocations: 0.9594 MB / 1.127 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/1.042, allocations: 65.16 kB / 1.127 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/1.043, allocations: 110.1 kB / 1.128 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004805/1.043, allocations: 335.5 kB / 1.128 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006224/1.044, allocations: 0.4885 MB / 1.128 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/1.045, allocations: 0.9288 MB / 1.129 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.045, allocations: 1.219 kB / 1.129 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.635e-06/1.046, allocations: 0 / 1.129 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.319e-05/1.046, allocations: 0.875 kB / 1.129 GB, free: 6.672 MB / 0.8575 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.00287/1.048, allocations: 1.481 MB / 1.131 GB, free: 21.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.048, allocations: 9.469 kB / 1.131 GB, free: 21.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/1.049, allocations: 135.6 kB / 1.131 GB, free: 21.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/1.049, allocations: 0.657 MB / 1.132 GB, free: 21.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/1.05, allocations: 74.59 kB / 1.132 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.05, allocations: 48.97 kB / 1.132 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/1.051, allocations: 0.5192 MB / 1.132 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/1.051, allocations: 3 kB / 1.132 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/1.051, allocations: 19.31 kB / 1.132 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/1.051, allocations: 11.38 kB / 1.132 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/1.052, allocations: 409.3 kB / 1.133 GB, free: 21.24 MB / 0.8731 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.003715/1.055, allocations: 2.733 MB / 1.135 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/1.056, allocations: 443.5 kB / 1.136 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/1.057, allocations: 308.1 kB / 1.136 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/1.057, allocations: 5.938 kB / 1.136 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000543/1.058, allocations: 284.9 kB / 1.136 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.595e-06/1.058, allocations: 5 kB / 1.136 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002789/1.06, allocations: 1.145 MB / 1.137 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.06, allocations: 57.44 kB / 1.137 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/1.063, allocations: 1.767 MB / 1.139 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/1.063, allocations: 42.39 kB / 1.139 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/1.063, allocations: 0.5276 MB / 1.14 GB, free: 19 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/1.063, allocations: 139.9 kB / 1.14 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/1.063, allocations: 105 kB / 1.14 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.064, allocations: 327.1 kB / 1.14 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/1.064, allocations: 212.5 kB / 1.14 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/1.065, allocations: 337 kB / 1.141 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/1.065, allocations: 0.5138 MB / 1.141 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.065, allocations: 3.062 kB / 1.141 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001781/1.067, allocations: 0.8083 MB / 1.142 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.067, allocations: 11.69 kB / 1.142 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.067, allocations: 3.344 kB / 1.142 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/1.068, allocations: 142.7 kB / 1.142 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/1.068, allocations: 102.9 kB / 1.142 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/1.071, allocations: 2.615 MB / 1.145 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/1.072, allocations: 83.42 kB / 1.145 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/1.072, allocations: 20.41 kB / 1.145 GB, free: 16.18 MB / 0.8731 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.0007067/1.072, allocations: 385.4 kB / 1.145 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.073, allocations: 115.7 kB / 1.145 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/1.073, allocations: 151.8 kB / 1.146 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.073, allocations: 3.562 kB / 1.146 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/1.073, allocations: 4.5 kB / 1.146 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/1.073, allocations: 6 kB / 1.146 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/1.075, allocations: 1.488 MB / 1.147 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.075, allocations: 0.5625 kB / 1.147 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/1.075, allocations: 46.41 kB / 1.147 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/1.076, allocations: 159.1 kB / 1.147 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/1.076, allocations: 14.05 kB / 1.147 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/1.08, allocations: 4.028 MB / 1.151 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.08, allocations: 2.062 kB / 1.151 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.082, allocations: 0.9824 MB / 1.152 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/1.082, allocations: 209.5 kB / 1.152 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/1.082, allocations: 16.27 kB / 1.152 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/1.083, allocations: 43.92 kB / 1.152 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/1.083, allocations: 50.38 kB / 1.152 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/1.083, allocations: 18.23 kB / 1.152 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001964/1.085, allocations: 1.295 MB / 1.154 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.085, allocations: 0 / 1.154 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001059/1.086, allocations: 206.6 kB / 1.154 GB, free: 10.46 MB / 0.8731 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.001202/1.087, allocations: 490.1 kB / 1.154 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001605/1.089, allocations: 0.6884 MB / 1.155 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.089, allocations: 0 / 1.155 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008436/1.09, allocations: 0.5282 MB / 1.156 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.091, allocations: 196.5 kB / 1.156 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/1.095, allocations: 2.745 MB / 1.158 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009225/1.096, allocations: 1.145 MB / 1.16 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/1.097, allocations: 50.34 kB / 1.16 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of SimCode: time 1.152e-06/1.097, allocations: 0 / 1.16 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of Templates: time 0.02739/1.124, allocations: 17.8 MB / 1.177 GB, free: 1.895 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches