Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_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_10_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.005587/0.005587, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001414/0.001414, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 60.14 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6108, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1577/0.7686, allocations: 154.5 MB / 1.168 GB, free: 7.848 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0242/0.7929, allocations: 21.61 MB / 1.189 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.7947, allocations: 51.69 kB / 1.189 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.7963, allocations: 1.134 MB / 1.19 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.7975, allocations: 0.802 MB / 1.191 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.7985, allocations: 379.2 kB / 1.192 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.7997, allocations: 1.352 MB / 1.193 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.8004, allocations: 0.61 MB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.8009, allocations: 494.2 kB / 1.194 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000908/0.8018, allocations: 0.9137 MB / 1.195 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.692e-05/0.8019, allocations: 40 kB / 1.195 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.8022, allocations: 83.98 kB / 1.195 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.8024, allocations: 304.8 kB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.8028, allocations: 468.8 kB / 1.196 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007676/0.8036, allocations: 0.9161 MB / 1.197 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.8036, allocations: 0 / 1.197 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8036, allocations: 0 / 1.197 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.8036, allocations: 0 / 1.197 GB, free: 10.64 MB / 0.9512 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.00212/0.8057, allocations: 1.482 MB / 1.198 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.8058, allocations: 12.03 kB / 1.198 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.8059, allocations: 127.3 kB / 1.198 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.8067, allocations: 0.6627 MB / 1.199 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.8068, allocations: 66.69 kB / 1.199 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.8069, allocations: 48 kB / 1.199 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009343/0.8079, allocations: 0.5184 MB / 1.199 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.8079, allocations: 0 / 1.199 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.808, allocations: 27.86 kB / 1.199 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.808, allocations: 12 kB / 1.199 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.8088, allocations: 411.7 kB / 1.2 GB, free: 7.16 MB / 0.9512 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.00333/0.8122, allocations: 2.735 MB / 1.203 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/0.8131, allocations: 440.9 kB / 1.203 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.8138, allocations: 318.7 kB / 1.203 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.8138, allocations: 4.656 kB / 1.203 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/0.8144, allocations: 287 kB / 1.204 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.975e-06/0.8144, allocations: 0 / 1.204 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002657/0.8171, allocations: 1.149 MB / 1.205 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.8171, allocations: 59.41 kB / 1.205 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.8189, allocations: 1.756 MB / 1.206 GB, free: 112 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.819, allocations: 37.7 kB / 1.206 GB, free: 68 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.8194, allocations: 0.5327 MB / 1.207 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.8196, allocations: 142 kB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.8197, allocations: 102.2 kB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8199, allocations: 322 kB / 1.207 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.8203, allocations: 217 kB / 1.208 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.8209, allocations: 343.1 kB / 1.208 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008811/0.8218, allocations: 0.5073 MB / 1.209 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8218, allocations: 3.938 kB / 1.209 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001553/0.8233, allocations: 0.8127 MB / 1.209 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.8234, allocations: 9.094 kB / 1.209 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8234, allocations: 3.938 kB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.8238, allocations: 136.9 kB / 1.209 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.8242, allocations: 99.86 kB / 1.21 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.8269, allocations: 2.384 MB / 1.212 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.8274, allocations: 95.44 kB / 1.212 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.8274, allocations: 20 kB / 1.212 GB, free: 10.11 MB / 0.9669 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.0004818/0.8279, allocations: 387.3 kB / 1.212 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.828, allocations: 114.5 kB / 1.212 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.8283, allocations: 139.7 kB / 1.213 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.8283, allocations: 4 kB / 1.213 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.8283, allocations: 7.938 kB / 1.213 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8283, allocations: 3.984 kB / 1.213 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.8306, allocations: 1.484 MB / 1.214 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8306, allocations: 4 kB / 1.214 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.8308, allocations: 47.97 kB / 1.214 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/0.8312, allocations: 165.5 kB / 1.214 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.8313, allocations: 15.92 kB / 1.214 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.8347, allocations: 3.7 MB / 1.218 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8347, allocations: 0 / 1.218 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.8364, allocations: 0.9794 MB / 1.219 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.8367, allocations: 211.6 kB / 1.219 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/0.8368, allocations: 15.94 kB / 1.219 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.8371, allocations: 39.91 kB / 1.219 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.8373, allocations: 51.91 kB / 1.219 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.8373, allocations: 16 kB / 1.219 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001338/0.8387, allocations: 1.285 MB / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.453e-06/0.8387, allocations: 0 / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007606/0.8394, allocations: 211.5 kB / 1.221 GB, free: 0.8672 MB / 0.9669 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.001124/0.8406, allocations: 483.8 kB / 1.221 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.8419, allocations: 0.6728 MB / 1.222 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.842, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000785/0.8427, allocations: 0.5167 MB / 1.222 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.8437, allocations: 180.7 kB / 1.222 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.8474, allocations: 2.753 MB / 1.225 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.8481, allocations: 1.142 MB / 1.226 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.8482, allocations: 47.44 kB / 1.226 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8483, allocations: 0 / 1.226 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of Templates: time 0.02217/0.8704, allocations: 17.8 MB / 1.244 GB, free: 9.398 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches