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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001061/0.001061, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 173.4 kB / 16.92 MB, free: 6.629 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.472/1.472, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004312, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.687, allocations: 142.4 MB / 0.9557 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1748/0.8618, allocations: 152.4 MB / 1.105 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02743/0.8893, allocations: 21.38 MB / 1.125 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.8916, allocations: 47.69 kB / 1.125 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.8935, allocations: 1.126 MB / 1.127 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.8953, allocations: 0.8137 MB / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.8967, allocations: 379.1 kB / 1.128 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.8986, allocations: 1.348 MB / 1.129 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000964/0.8996, allocations: 0.5866 MB / 1.13 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008587/0.9005, allocations: 478.3 kB / 1.13 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.9017, allocations: 0.8786 MB / 1.131 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.9018, allocations: 28 kB / 1.131 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.9021, allocations: 79.92 kB / 1.131 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.9025, allocations: 296.6 kB / 1.131 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.903, allocations: 470.5 kB / 1.132 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008822/0.9039, allocations: 0.8924 MB / 1.133 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9039, allocations: 0 / 1.133 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9039, allocations: 0 / 1.133 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.744e-05/0.9039, allocations: 0 / 1.133 GB, free: 9.691 MB / 0.8887 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.002187/0.9061, allocations: 1.323 MB / 1.134 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9062, allocations: 12.02 kB / 1.134 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.9064, allocations: 135.2 kB / 1.134 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/0.9072, allocations: 0.6473 MB / 1.135 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.9074, allocations: 74.69 kB / 1.135 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.9074, allocations: 51.89 kB / 1.135 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009627/0.9084, allocations: 0.534 MB / 1.135 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.9084, allocations: 0 / 1.135 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.9085, allocations: 16 kB / 1.135 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.9085, allocations: 12 kB / 1.135 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.9094, allocations: 431.7 kB / 1.136 GB, free: 6.344 MB / 0.8887 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.003935/0.9134, allocations: 2.794 MB / 1.138 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.9144, allocations: 459.6 kB / 1.139 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.9152, allocations: 309.7 kB / 1.139 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.9152, allocations: 8.266 kB / 1.139 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007795/0.916, allocations: 299.6 kB / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/0.916, allocations: 0 / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002902/0.9189, allocations: 1.194 MB / 1.141 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.919, allocations: 55.41 kB / 1.141 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.9211, allocations: 1.76 MB / 1.142 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.9211, allocations: 37.7 kB / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/0.9216, allocations: 0.5249 MB / 1.143 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.9218, allocations: 142 kB / 1.143 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.9219, allocations: 57.69 kB / 1.143 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.922, allocations: 330 kB / 1.143 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.9226, allocations: 233 kB / 1.144 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.9231, allocations: 351.2 kB / 1.144 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.9241, allocations: 0.5542 MB / 1.145 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.9242, allocations: 3.938 kB / 1.145 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001745/0.9259, allocations: 0.8364 MB / 1.145 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.926, allocations: 8 kB / 1.145 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.926, allocations: 4 kB / 1.145 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.9264, allocations: 136.7 kB / 1.146 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.9269, allocations: 115.9 kB / 1.146 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.9298, allocations: 2.395 MB / 1.148 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.9304, allocations: 95.45 kB / 1.148 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.9305, allocations: 20 kB / 1.148 GB, free: 9.086 MB / 0.9044 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.0005643/0.9311, allocations: 389.3 kB / 1.148 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.9312, allocations: 110.6 kB / 1.149 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.9315, allocations: 139.7 kB / 1.149 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.9315, allocations: 4 kB / 1.149 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.9315, allocations: 11.88 kB / 1.149 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9315, allocations: 4 kB / 1.149 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.934, allocations: 1.517 MB / 1.15 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.934, allocations: 0 / 1.15 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.9343, allocations: 55.89 kB / 1.15 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.9347, allocations: 161.6 kB / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.9348, allocations: 15.98 kB / 1.15 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003846/0.9386, allocations: 3.7 MB / 1.154 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9387, allocations: 8.094 kB / 1.154 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.9406, allocations: 1.01 MB / 1.155 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.941, allocations: 215.5 kB / 1.155 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.9412, allocations: 19.92 kB / 1.155 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.9416, allocations: 43.91 kB / 1.155 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.9417, allocations: 51.91 kB / 1.155 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.9418, allocations: 16 kB / 1.155 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001633/0.9434, allocations: 1.285 MB / 1.157 GB, free: 15.96 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9434, allocations: 0 / 1.157 GB, free: 15.96 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008909/0.9443, allocations: 207.7 kB / 1.157 GB, free: 15.76 MB / 0.92 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.001243/0.9456, allocations: 486.3 kB / 1.157 GB, free: 15.47 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.9472, allocations: 0.7029 MB / 1.158 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.9472, allocations: 0 / 1.158 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.9482, allocations: 0.5369 MB / 1.159 GB, free: 14.19 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.9493, allocations: 188.8 kB / 1.159 GB, free: 14.01 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.9538, allocations: 2.811 MB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009184/0.9548, allocations: 1.146 MB / 1.163 GB, free: 9.988 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.9549, allocations: 43.42 kB / 1.163 GB, free: 9.945 MB / 0.92 GB Notification: Performance of SimCode: time 9.91e-07/0.9549, allocations: 8 kB / 1.163 GB, free: 9.938 MB / 0.92 GB Notification: Performance of Templates: time 0.02643/0.9814, allocations: 17.6 MB / 1.18 GB, free: 8.367 MB / 0.9356 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