Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 108.9 kB / 15.99 MB, free: 5.906 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.001962/0.001962, allocations: 194.8 kB / 16.91 MB, free: 5.75 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.673/2.673, allocations: 469.8 MB / 0.7427 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 58.66 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3429, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.6994/1.042, allocations: 155.4 MB / 1.216 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02896/1.071, allocations: 21.82 MB / 1.237 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/1.074, allocations: 51.69 kB / 1.237 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/1.077, allocations: 2.128 MB / 1.239 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002881/1.08, allocations: 1.406 MB / 1.241 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/1.082, allocations: 0.5523 MB / 1.241 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003075/1.085, allocations: 1.949 MB / 1.243 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/1.087, allocations: 1.132 MB / 1.244 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/1.089, allocations: 0.927 MB / 1.245 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/1.091, allocations: 1.659 MB / 1.247 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002885/1.091, allocations: 96 kB / 1.247 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/1.091, allocations: 143.9 kB / 1.247 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006198/1.092, allocations: 0.5898 MB / 1.248 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/1.093, allocations: 0.8107 MB / 1.248 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/1.095, allocations: 1.474 MB / 1.25 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.095, allocations: 4 kB / 1.25 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/1.095, allocations: 3.938 kB / 1.25 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.54e-05/1.095, allocations: 0 / 1.25 GB, free: 10.94 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004344/1.099, allocations: 2.364 MB / 1.252 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.099, allocations: 8.031 kB / 1.252 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/1.1, allocations: 240.9 kB / 1.252 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/1.102, allocations: 1.031 MB / 1.253 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/1.102, allocations: 99.62 kB / 1.253 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/1.102, allocations: 71.94 kB / 1.254 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/1.103, allocations: 0.7932 MB / 1.254 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/1.104, allocations: 0 / 1.254 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/1.104, allocations: 31.94 kB / 1.254 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/1.104, allocations: 16 kB / 1.254 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/1.105, allocations: 0.6491 MB / 1.255 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005368/1.11, allocations: 3.749 MB / 1.259 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/1.112, allocations: 0.7422 MB / 1.259 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007894/1.113, allocations: 422.3 kB / 1.26 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/1.113, allocations: 12.56 kB / 1.26 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008949/1.114, allocations: 455.9 kB / 1.26 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=73): time 2.675e-06/1.114, allocations: 0 / 1.26 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=73): time 0.004475/1.118, allocations: 1.826 MB / 1.262 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/1.118, allocations: 68 kB / 1.262 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/1.122, allocations: 3.376 MB / 1.265 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/1.122, allocations: 45.7 kB / 1.265 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008421/1.123, allocations: 0.9215 MB / 1.266 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/1.123, allocations: 244.7 kB / 1.267 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/1.124, allocations: 138.6 kB / 1.267 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.124, allocations: 334 kB / 1.267 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/1.124, allocations: 325.8 kB / 1.267 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008176/1.125, allocations: 472 kB / 1.268 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/1.127, allocations: 0.745 MB / 1.268 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.127, allocations: 0 / 1.268 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002427/1.129, allocations: 1.257 MB / 1.27 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.129, allocations: 4 kB / 1.27 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.129, allocations: 4 kB / 1.27 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007409/1.13, allocations: 273.5 kB / 1.27 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/1.13, allocations: 135.8 kB / 1.27 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/1.136, allocations: 4.758 MB / 1.275 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/1.137, allocations: 107.3 kB / 1.275 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/1.137, allocations: 32.14 kB / 1.275 GB, free: 340 kB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009435/1.138, allocations: 0.6107 MB / 1.275 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/1.138, allocations: 217.1 kB / 1.276 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/1.138, allocations: 261.2 kB / 1.276 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.138, allocations: 8 kB / 1.276 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.138, allocations: 4 kB / 1.276 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/1.138, allocations: 7.984 kB / 1.276 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/1.142, allocations: 2.405 MB / 1.278 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.142, allocations: 0 / 1.278 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/1.143, allocations: 75.83 kB / 1.278 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006421/1.143, allocations: 261.4 kB / 1.279 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/1.143, allocations: 15.98 kB / 1.279 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005255/1.149, allocations: 4.749 MB / 1.283 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.149, allocations: 4.062 kB / 1.283 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/1.152, allocations: 1.633 MB / 1.285 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/1.152, allocations: 322.1 kB / 1.285 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.152, allocations: 20 kB / 1.285 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/1.153, allocations: 55.83 kB / 1.285 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/1.153, allocations: 76.48 kB / 1.285 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/1.153, allocations: 23.98 kB / 1.285 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002846/1.156, allocations: 2.472 MB / 1.288 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.156, allocations: 0 / 1.288 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001086/1.157, allocations: 307.5 kB / 1.288 GB, free: 2.414 MB / 0.9981 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001786/1.159, allocations: 0.4891 MB / 1.289 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002829/1.162, allocations: 1.191 MB / 1.29 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.162, allocations: 0 / 1.29 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/1.163, allocations: 0.7068 MB / 1.29 GB, free: 156 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.164, allocations: 291.5 kB / 1.291 GB, free: 15.88 MB / 1.014 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/1.171, allocations: 4.753 MB / 1.295 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/1.172, allocations: 1.544 MB / 1.297 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/1.173, allocations: 71.42 kB / 1.297 GB, free: 9.449 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.173, allocations: 0 / 1.297 GB, free: 9.449 MB / 1.014 GB Notification: Performance of Templates: time 0.04634/1.219, allocations: 32.77 MB / 1.329 GB, free: 8.711 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches