Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001305/0.001305, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8275, allocations: 140.4 MB / 0.9491 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.009166/0.8367, allocations: 8.344 MB / 0.9572 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1802/1.017, allocations: 152.3 MB / 1.106 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/1.02, allocations: 39.81 kB / 1.106 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003804/1.024, allocations: 1.007 MB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/1.028, allocations: 0.9262 MB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004731/1.033, allocations: 1.524 MB / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007287/1.04, allocations: 4.713 MB / 1.114 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/1.043, allocations: 1.848 MB / 1.116 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004076/1.047, allocations: 2.064 MB / 1.118 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/1.051, allocations: 1.778 MB / 1.12 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/1.052, allocations: 380 kB / 1.12 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/1.056, allocations: 1.151 MB / 1.121 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/1.057, allocations: 0.9776 MB / 1.122 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002794/1.06, allocations: 1.738 MB / 1.124 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006197/1.066, allocations: 5.38 MB / 1.129 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.066, allocations: 0 / 1.129 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.784e-06/1.066, allocations: 7.922 kB / 1.129 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001026/1.066, allocations: 0 / 1.129 GB, free: 9.41 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: 502 * Number of variables: 502 Notification: Performance of Generate backend data structure: time 0.01246/1.079, allocations: 4.069 MB / 1.133 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.9e-05/1.079, allocations: 8.031 kB / 1.133 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00872/1.088, allocations: 1.573 MB / 1.134 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00673/1.094, allocations: 2.593 MB / 1.137 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/1.095, allocations: 185.6 kB / 1.137 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004053/1.095, allocations: 219.9 kB / 1.137 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00658/1.102, allocations: 3.318 MB / 1.141 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/1.102, allocations: 3.938 kB / 1.141 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/1.102, allocations: 84 kB / 1.141 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/1.102, allocations: 48 kB / 1.141 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008558/1.111, allocations: 3.964 MB / 1.145 GB, free: 9.145 MB / 0.9044 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.02004/1.131, allocations: 10.12 MB / 1.154 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007452/1.138, allocations: 2.919 MB / 1.157 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/1.142, allocations: 1.387 MB / 1.159 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009169/1.143, allocations: 499.1 kB / 1.159 GB, free: 9.863 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00389/1.147, allocations: 1.621 MB / 1.161 GB, free: 8.223 MB / 0.92 GB Notification: Performance of pre-optimization done (n=166): time 4.318e-06/1.147, allocations: 0 / 1.161 GB, free: 8.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=166): time 0.01236/1.159, allocations: 4.742 MB / 1.165 GB, free: 3.383 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.159, allocations: 205.2 kB / 1.166 GB, free: 3.141 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006111/1.165, allocations: 3.165 MB / 1.169 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000629/1.166, allocations: 65.7 kB / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/1.167, allocations: 1.127 MB / 1.17 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008223/1.168, allocations: 0.5508 MB / 1.17 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007687/1.169, allocations: 423.2 kB / 1.171 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.169, allocations: 305.1 kB / 1.171 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/1.172, allocations: 1.37 MB / 1.172 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/1.175, allocations: 1.78 MB / 1.174 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0059/1.181, allocations: 2.991 MB / 1.177 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.181, allocations: 4 kB / 1.177 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008775/1.19, allocations: 3.711 MB / 1.181 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/1.19, allocations: 8 kB / 1.181 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.19, allocations: 16.2 kB / 1.181 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/1.192, allocations: 399 kB / 1.181 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/1.195, allocations: 0.5498 MB / 1.182 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/1.2, allocations: 5.729 MB / 1.187 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/1.204, allocations: 491.6 kB / 1.188 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004548/1.205, allocations: 99.92 kB / 1.188 GB, free: 11.56 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002687/1.207, allocations: 1.116 MB / 1.189 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.209, allocations: 240.9 kB / 1.189 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009279/1.218, allocations: 3.567 MB / 1.193 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.218, allocations: 16 kB / 1.193 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.218, allocations: 7.938 kB / 1.193 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/1.218, allocations: 7.969 kB / 1.193 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/1.223, allocations: 2.955 MB / 1.195 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.223, allocations: 0 / 1.195 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.225, allocations: 431.3 kB / 1.196 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/1.226, allocations: 375 kB / 1.196 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/1.227, allocations: 67.92 kB / 1.196 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/1.232, allocations: 5.725 MB / 1.202 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.232, allocations: 7.875 kB / 1.202 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.243, allocations: 4.926 MB / 1.207 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.246, allocations: 0.7863 MB / 1.208 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006093/1.246, allocations: 51.98 kB / 1.208 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/1.249, allocations: 319.5 kB / 1.208 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/1.249, allocations: 137.8 kB / 1.208 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.249, allocations: 75.88 kB / 1.208 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003637/1.253, allocations: 2.255 MB / 1.21 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.11e-07/1.253, allocations: 0 / 1.21 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002952/1.256, allocations: 0.8419 MB / 1.211 GB, free: 3.066 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (conExt[1].opa.lay[1].T[1],conExt[1].opa.lay[1].T[2],conExt[1].opa.lay[2].T[1],conExt[1].opa.lay[2].T[2],conExt[1].opa.lay[2].T[3]) * Number of discrete variables: 14 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 7 (bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/1.258, allocations: 0.6881 MB / 1.212 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.269, allocations: 4.88 MB / 1.217 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.27, allocations: 0 / 1.217 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004177/1.274, allocations: 1.827 MB / 1.218 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005069/1.279, allocations: 0.8243 MB / 1.219 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.294, allocations: 7.812 MB / 1.227 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/1.296, allocations: 2.345 MB / 1.229 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0036/1.3, allocations: 0.9045 MB / 1.23 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/1.301, allocations: 227.3 kB / 1.23 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.301, allocations: 0 / 1.23 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of Templates: time 0.6501/1.951, allocations: 47.51 MB / 1.277 GB, free: 263.5 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches