Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 102.2 kB / 16.27 MB, free: 6 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.001826/0.001826, allocations: 191 kB / 17.2 MB, free: 5.609 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.499/1.499, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 72.59 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.929, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.2039/1.133, allocations: 157.3 MB / 1.237 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02955/1.163, allocations: 22 MB / 1.258 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/1.165, allocations: 59.62 kB / 1.258 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002842/1.168, allocations: 2.155 MB / 1.26 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/1.17, allocations: 1.413 MB / 1.262 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/1.172, allocations: 0.5822 MB / 1.262 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002484/1.175, allocations: 1.824 MB / 1.264 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/1.176, allocations: 1.081 MB / 1.265 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/1.178, allocations: 0.8764 MB / 1.266 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/1.18, allocations: 1.534 MB / 1.267 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/1.18, allocations: 88 kB / 1.267 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/1.18, allocations: 143.9 kB / 1.268 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005321/1.181, allocations: 0.5313 MB / 1.268 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007985/1.182, allocations: 0.7604 MB / 1.269 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/1.184, allocations: 1.837 MB / 1.271 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.184, allocations: 4 kB / 1.271 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.184, allocations: 0 / 1.271 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.175e-05/1.184, allocations: 0 / 1.271 GB, free: 14.12 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003708/1.187, allocations: 2.275 MB / 1.273 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.187, allocations: 8.031 kB / 1.273 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/1.188, allocations: 234 kB / 1.273 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/1.189, allocations: 1.003 MB / 1.274 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/1.189, allocations: 83 kB / 1.274 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/1.189, allocations: 71.98 kB / 1.274 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/1.191, allocations: 0.7251 MB / 1.275 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/1.191, allocations: 7.938 kB / 1.275 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/1.191, allocations: 20 kB / 1.275 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.191, allocations: 16 kB / 1.275 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/1.192, allocations: 0.5946 MB / 1.276 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/1.198, allocations: 3.529 MB / 1.279 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/1.199, allocations: 0.7209 MB / 1.28 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008163/1.2, allocations: 406.9 kB / 1.28 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/1.2, allocations: 12.55 kB / 1.28 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008352/1.201, allocations: 430.8 kB / 1.28 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 3.036e-06/1.201, allocations: 0 / 1.28 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.004592/1.206, allocations: 1.796 MB / 1.282 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/1.206, allocations: 67.95 kB / 1.282 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004001/1.21, allocations: 3.301 MB / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/1.21, allocations: 49.7 kB / 1.286 GB, free: 14.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008965/1.211, allocations: 0.8898 MB / 1.286 GB, free: 13.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/1.211, allocations: 220.9 kB / 1.287 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/1.211, allocations: 126.7 kB / 1.287 GB, free: 13.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.211, allocations: 334 kB / 1.287 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/1.212, allocations: 309.8 kB / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/1.213, allocations: 434.4 kB / 1.288 GB, free: 11.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/1.214, allocations: 0.717 MB / 1.288 GB, free: 11.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.214, allocations: 3.938 kB / 1.289 GB, free: 11.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002582/1.217, allocations: 1.211 MB / 1.29 GB, free: 9.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/1.217, allocations: 11.94 kB / 1.29 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/1.217, allocations: 8 kB / 1.29 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/1.218, allocations: 257.6 kB / 1.29 GB, free: 9.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/1.218, allocations: 135.8 kB / 1.29 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/1.224, allocations: 4.752 MB / 1.295 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/1.225, allocations: 103.3 kB / 1.295 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/1.225, allocations: 27.94 kB / 1.295 GB, free: 4.371 MB / 1.014 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009558/1.226, allocations: 0.601 MB / 1.295 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/1.226, allocations: 205.4 kB / 1.296 GB, free: 3.559 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/1.227, allocations: 260.5 kB / 1.296 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/1.227, allocations: 8 kB / 1.296 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.347e-05/1.227, allocations: 4 kB / 1.296 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.227, allocations: 3.984 kB / 1.296 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/1.231, allocations: 2.331 MB / 1.298 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.231, allocations: 8 kB / 1.298 GB, free: 0.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/1.231, allocations: 71.89 kB / 1.298 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006827/1.232, allocations: 251.7 kB / 1.298 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/1.232, allocations: 19.98 kB / 1.299 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/1.238, allocations: 4.76 MB / 1.303 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.238, allocations: 0 / 1.303 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/1.241, allocations: 1.576 MB / 1.305 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005395/1.241, allocations: 314.3 kB / 1.305 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.241, allocations: 19.94 kB / 1.305 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/1.242, allocations: 39.95 kB / 1.305 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.242, allocations: 72.45 kB / 1.305 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/1.242, allocations: 20 kB / 1.305 GB, free: 9.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00298/1.245, allocations: 2.435 MB / 1.308 GB, free: 6.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.245, allocations: 0 / 1.308 GB, free: 6.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001046/1.246, allocations: 287.5 kB / 1.308 GB, free: 6.691 MB / 1.029 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.001853/1.248, allocations: 493.6 kB / 1.308 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002626/1.251, allocations: 1.155 MB / 1.309 GB, free: 5.203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.251, allocations: 0 / 1.309 GB, free: 5.203 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.252, allocations: 0.6904 MB / 1.31 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.253, allocations: 285.4 kB / 1.31 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/1.26, allocations: 4.106 MB / 1.314 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.261, allocations: 1.524 MB / 1.316 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/1.261, allocations: 71.41 kB / 1.316 GB, free: 14.45 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/1.261, allocations: 0 / 1.316 GB, free: 14.45 MB / 1.045 GB Notification: Performance of Templates: time 0.04778/1.309, allocations: 31.46 MB / 1.347 GB, free: 15.02 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches