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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001284/0.001284, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001291/0.001291, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 482.4 MB / 0.755 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002016, allocations: 75.28 kB / 0.924 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9238/0.9259, allocations: 162.2 MB / 1.082 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2086/1.135, allocations: 154.9 MB / 1.234 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03126/1.166, allocations: 21.64 MB / 1.255 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/1.169, allocations: 51.69 kB / 1.255 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/1.171, allocations: 1.306 MB / 1.256 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/1.173, allocations: 0.9306 MB / 1.257 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/1.174, allocations: 448.9 kB / 1.257 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001982/1.176, allocations: 1.438 MB / 1.259 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/1.177, allocations: 0.779 MB / 1.26 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009446/1.178, allocations: 0.6581 MB / 1.26 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/1.18, allocations: 1.148 MB / 1.261 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/1.18, allocations: 72 kB / 1.261 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/1.18, allocations: 119.9 kB / 1.262 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003732/1.181, allocations: 388.6 kB / 1.262 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/1.181, allocations: 0.5549 MB / 1.263 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/1.182, allocations: 1.053 MB / 1.264 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.182, allocations: 0 / 1.264 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/1.182, allocations: 0 / 1.264 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.441e-05/1.182, allocations: 0 / 1.264 GB, free: 5.039 MB / 0.9825 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.002781/1.185, allocations: 1.69 MB / 1.265 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.185, allocations: 8.031 kB / 1.265 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/1.185, allocations: 159 kB / 1.265 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/1.187, allocations: 0.7477 MB / 1.266 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/1.187, allocations: 74.69 kB / 1.266 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.966e-05/1.187, allocations: 52 kB / 1.266 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/1.188, allocations: 0.5731 MB / 1.267 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/1.188, allocations: 0 / 1.267 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/1.188, allocations: 20 kB / 1.267 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/1.188, allocations: 12 kB / 1.267 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.19, allocations: 447.7 kB / 1.267 GB, free: 1.141 MB / 0.9825 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.005891/1.196, allocations: 3.025 MB / 1.27 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/1.197, allocations: 496.2 kB / 1.271 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/1.198, allocations: 326.1 kB / 1.271 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/1.198, allocations: 8.359 kB / 1.271 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009308/1.199, allocations: 325.2 kB / 1.271 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 3.457e-06/1.199, allocations: 0 / 1.271 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.004913/1.204, allocations: 1.352 MB / 1.273 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/1.204, allocations: 59.84 kB / 1.273 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/1.208, allocations: 2.12 MB / 1.275 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.569e-05/1.208, allocations: 37.7 kB / 1.275 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/1.209, allocations: 0.6245 MB / 1.275 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/1.209, allocations: 161.7 kB / 1.276 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/1.209, allocations: 110.2 kB / 1.276 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.209, allocations: 334 kB / 1.276 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/1.21, allocations: 237.1 kB / 1.276 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/1.211, allocations: 353.8 kB / 1.277 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/1.213, allocations: 0.5417 MB / 1.277 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.213, allocations: 4 kB / 1.277 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002804/1.216, allocations: 0.9099 MB / 1.278 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.216, allocations: 8.219 kB / 1.278 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/1.216, allocations: 4 kB / 1.278 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/1.217, allocations: 192.7 kB / 1.278 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/1.217, allocations: 111.8 kB / 1.278 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/1.223, allocations: 3.047 MB / 1.281 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/1.224, allocations: 99.42 kB / 1.281 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/1.224, allocations: 20 kB / 1.281 GB, free: 2.07 MB / 0.9981 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.0009361/1.225, allocations: 437.5 kB / 1.282 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/1.225, allocations: 142.8 kB / 1.282 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/1.225, allocations: 162 kB / 1.282 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.225, allocations: 11.94 kB / 1.282 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.225, allocations: 0 / 1.282 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.225, allocations: 7.922 kB / 1.282 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004178/1.23, allocations: 1.73 MB / 1.284 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.23, allocations: 0 / 1.284 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/1.23, allocations: 59.91 kB / 1.284 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007624/1.231, allocations: 197.6 kB / 1.284 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/1.231, allocations: 15.98 kB / 1.284 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006849/1.238, allocations: 4.612 MB / 1.289 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.238, allocations: 4.031 kB / 1.289 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/1.241, allocations: 1.158 MB / 1.29 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/1.241, allocations: 243.3 kB / 1.29 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/1.242, allocations: 15.98 kB / 1.29 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/1.242, allocations: 39.88 kB / 1.29 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/1.242, allocations: 60.34 kB / 1.29 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/1.243, allocations: 16 kB / 1.29 GB, free: 8.789 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002649/1.245, allocations: 1.549 MB / 1.292 GB, free: 7.242 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.21e-07/1.245, allocations: 0 / 1.292 GB, free: 7.242 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001393/1.247, allocations: 219.7 kB / 1.292 GB, free: 7.027 MB / 1.014 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.002371/1.249, allocations: 496.4 kB / 1.292 GB, free: 6.723 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002795/1.252, allocations: 0.804 MB / 1.293 GB, free: 5.902 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.252, allocations: 8.062 kB / 1.293 GB, free: 5.895 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.253, allocations: 0.5736 MB / 1.294 GB, free: 5.297 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.255, allocations: 235.9 kB / 1.294 GB, free: 5.074 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/1.263, allocations: 3.231 MB / 1.297 GB, free: 1.801 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.264, allocations: 1.236 MB / 1.298 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/1.264, allocations: 51.42 kB / 1.298 GB, free: 496 kB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.264, allocations: 4 kB / 1.298 GB, free: 492 kB / 1.014 GB Notification: Performance of Templates: time 0.03322/1.298, allocations: 20.4 MB / 1.318 GB, free: 12.12 MB / 1.045 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=400 -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