Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001178/0.001178, allocations: 196 kB / 17.31 MB, free: 5.613 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.195/2.195, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 68.92 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.5378/0.7707, allocations: 157 MB / 1.18 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.7935, allocations: 21.88 MB / 1.201 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.7953, allocations: 56.81 kB / 1.202 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.7968, allocations: 1.337 MB / 1.203 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.7982, allocations: 0.9738 MB / 1.204 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.7994, allocations: 0.5084 MB / 1.204 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.8008, allocations: 1.434 MB / 1.206 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000746/0.8016, allocations: 0.7813 MB / 1.206 GB, free: 1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.8022, allocations: 0.6464 MB / 1.207 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000907/0.8031, allocations: 1.102 MB / 1.208 GB, free: 168 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.8032, allocations: 72.56 kB / 1.208 GB, free: 168 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.8034, allocations: 121 kB / 1.208 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.8037, allocations: 373.4 kB / 1.209 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.8041, allocations: 0.5557 MB / 1.209 GB, free: 15.5 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.8051, allocations: 1.363 MB / 1.211 GB, free: 14.56 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8051, allocations: 4 kB / 1.211 GB, free: 14.55 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8051, allocations: 0 / 1.211 GB, free: 14.55 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.8051, allocations: 0 / 1.211 GB, free: 14.55 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002187/0.8073, allocations: 1.682 MB / 1.212 GB, free: 13.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.8074, allocations: 10.06 kB / 1.212 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.8076, allocations: 161.9 kB / 1.212 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.8086, allocations: 0.7507 MB / 1.213 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.8087, allocations: 76.69 kB / 1.213 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.8088, allocations: 55.28 kB / 1.213 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.8097, allocations: 0.5721 MB / 1.214 GB, free: 12.11 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.8097, allocations: 7.891 kB / 1.214 GB, free: 12.11 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.8098, allocations: 16.88 kB / 1.214 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.8098, allocations: 12.34 kB / 1.214 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.8106, allocations: 440.8 kB / 1.214 GB, free: 11.89 MB / 0.92 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.003517/0.8141, allocations: 3.001 MB / 1.217 GB, free: 9.281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/0.8151, allocations: 0.4945 MB / 1.218 GB, free: 9.027 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.8156, allocations: 310.7 kB / 1.218 GB, free: 8.879 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.8157, allocations: 6.438 kB / 1.218 GB, free: 8.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.8162, allocations: 345.1 kB / 1.218 GB, free: 8.656 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.495e-06/0.8162, allocations: 2.094 kB / 1.218 GB, free: 8.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=52): time 0.002902/0.8192, allocations: 1.342 MB / 1.22 GB, free: 7.332 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.8192, allocations: 59.84 kB / 1.22 GB, free: 7.262 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.8212, allocations: 2.112 MB / 1.222 GB, free: 5.137 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.8212, allocations: 45.64 kB / 1.222 GB, free: 5.086 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/0.8217, allocations: 0.6245 MB / 1.222 GB, free: 4.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.8218, allocations: 169.6 kB / 1.223 GB, free: 4.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.822, allocations: 106.3 kB / 1.223 GB, free: 4.176 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8221, allocations: 333.9 kB / 1.223 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.8226, allocations: 233.2 kB / 1.223 GB, free: 3.617 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.8231, allocations: 345.9 kB / 1.223 GB, free: 3.238 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/0.824, allocations: 0.5415 MB / 1.224 GB, free: 2.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.824, allocations: 4 kB / 1.224 GB, free: 2.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001653/0.8257, allocations: 0.9156 MB / 1.225 GB, free: 1.73 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.8257, allocations: 4 kB / 1.225 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8257, allocations: 4 kB / 1.225 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.8262, allocations: 192.8 kB / 1.225 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.8266, allocations: 103.9 kB / 1.225 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.83, allocations: 3.055 MB / 1.228 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.8305, allocations: 71.48 kB / 1.228 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.8305, allocations: 24.06 kB / 1.228 GB, free: 14.15 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005544/0.8311, allocations: 447.7 kB / 1.229 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.8312, allocations: 134.2 kB / 1.229 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.8315, allocations: 166 kB / 1.229 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.8315, allocations: 4 kB / 1.229 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.8315, allocations: 7.938 kB / 1.229 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.8315, allocations: 3.984 kB / 1.229 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.8341, allocations: 1.738 MB / 1.231 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8341, allocations: 0 / 1.231 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.8343, allocations: 51.91 kB / 1.231 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.8348, allocations: 193.6 kB / 1.231 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.8348, allocations: 15.98 kB / 1.231 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004796/0.8397, allocations: 4.621 MB / 1.235 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8397, allocations: 0 / 1.235 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.8417, allocations: 1.163 MB / 1.237 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.8421, allocations: 247.2 kB / 1.237 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/0.8422, allocations: 16 kB / 1.237 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.8426, allocations: 27.95 kB / 1.237 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.8427, allocations: 64.36 kB / 1.237 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.8428, allocations: 19.98 kB / 1.237 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001569/0.8443, allocations: 1.541 MB / 1.238 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8443, allocations: 0 / 1.238 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000748/0.8451, allocations: 227.6 kB / 1.239 GB, free: 3.102 MB / 0.9356 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.00104/0.8461, allocations: 478 kB / 1.239 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.8477, allocations: 0.7529 MB / 1.24 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.8477, allocations: 0 / 1.24 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.8485, allocations: 0.5896 MB / 1.24 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.8495, allocations: 243.2 kB / 1.241 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.8535, allocations: 2.762 MB / 1.243 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.8543, allocations: 1.247 MB / 1.245 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002752/0.8546, allocations: 109 kB / 1.245 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.8547, allocations: 51.42 kB / 1.245 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.8547, allocations: 0 / 1.245 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.01948/0.8742, allocations: 11.47 MB / 1.256 GB, free: 1.645 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches