Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001466/0.001466, allocations: 107.7 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.001579/0.001578, allocations: 191.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.401/1.401, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 60.91 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2718, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.0123/0.2842, allocations: 9.809 MB / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6619/0.9461, allocations: 152.4 MB / 1.176 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.9484, allocations: 41.81 kB / 1.176 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.9524, allocations: 1.03 MB / 1.177 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004391/0.9568, allocations: 1.046 MB / 1.178 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.9617, allocations: 1.532 MB / 1.179 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006758/0.9685, allocations: 4.956 MB / 1.184 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.9713, allocations: 1.795 MB / 1.186 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.9748, allocations: 2.106 MB / 1.188 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.9779, allocations: 1.815 MB / 1.19 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.979, allocations: 379.5 kB / 1.19 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.9818, allocations: 1.147 MB / 1.191 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00142/0.9832, allocations: 0.981 MB / 1.192 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003304/0.9866, allocations: 1.799 MB / 1.194 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00494/0.9915, allocations: 4.468 MB / 1.198 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9915, allocations: 0 / 1.198 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9915, allocations: 0 / 1.198 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.818e-05/0.9916, allocations: 3.844 kB / 1.198 GB, free: 14.43 MB / 0.9044 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.008531/1, allocations: 4.109 MB / 1.202 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1, allocations: 11.08 kB / 1.202 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007696/1.008, allocations: 1.579 MB / 1.204 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004597/1.013, allocations: 2.601 MB / 1.207 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/1.013, allocations: 185.6 kB / 1.207 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/1.013, allocations: 208 kB / 1.207 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006732/1.02, allocations: 3.323 MB / 1.21 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/1.02, allocations: 0 / 1.21 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/1.02, allocations: 80 kB / 1.21 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/1.02, allocations: 48 kB / 1.21 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008368/1.029, allocations: 3.96 MB / 1.214 GB, free: 172 kB / 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.01853/1.047, allocations: 10.53 MB / 1.224 GB, free: 5.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006703/1.054, allocations: 2.906 MB / 1.227 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/1.057, allocations: 1.383 MB / 1.229 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007242/1.058, allocations: 499 kB / 1.229 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00339/1.061, allocations: 1.618 MB / 1.231 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=166): time 4.198e-06/1.061, allocations: 0 / 1.231 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166): time 0.01203/1.073, allocations: 4.746 MB / 1.235 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.073, allocations: 197.2 kB / 1.236 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006235/1.079, allocations: 3.165 MB / 1.239 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003321/1.08, allocations: 61.7 kB / 1.239 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.081, allocations: 1.131 MB / 1.24 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00074/1.082, allocations: 0.5508 MB / 1.24 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.083, allocations: 427.1 kB / 1.241 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.083, allocations: 309.1 kB / 1.241 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/1.086, allocations: 1.37 MB / 1.242 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/1.09, allocations: 1.772 MB / 1.244 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/1.096, allocations: 2.998 MB / 1.247 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/1.096, allocations: 4 kB / 1.247 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008828/1.105, allocations: 3.718 MB / 1.251 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/1.105, allocations: 10.66 kB / 1.251 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.105, allocations: 12 kB / 1.251 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/1.107, allocations: 399.2 kB / 1.251 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/1.109, allocations: 0.5498 MB / 1.252 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/1.115, allocations: 5.74 MB / 1.257 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/1.119, allocations: 499.5 kB / 1.258 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/1.119, allocations: 91.94 kB / 1.258 GB, free: 2.109 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.002318/1.121, allocations: 1.12 MB / 1.259 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009906/1.122, allocations: 256.8 kB / 1.259 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009206/1.131, allocations: 3.558 MB / 1.263 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.132, allocations: 16 kB / 1.263 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/1.132, allocations: 0 / 1.263 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/1.132, allocations: 15.89 kB / 1.263 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/1.137, allocations: 2.967 MB / 1.265 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.137, allocations: 0 / 1.265 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.139, allocations: 427.3 kB / 1.266 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/1.141, allocations: 375 kB / 1.266 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/1.141, allocations: 59.94 kB / 1.266 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/1.146, allocations: 5.738 MB / 1.272 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.146, allocations: 128 / 1.272 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.158, allocations: 4.918 MB / 1.277 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/1.16, allocations: 0.7903 MB / 1.277 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009849/1.161, allocations: 59.81 kB / 1.278 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002963/1.164, allocations: 319.5 kB / 1.278 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/1.164, allocations: 133.8 kB / 1.278 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.165, allocations: 71.94 kB / 1.278 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004648/1.169, allocations: 2.247 MB / 1.28 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/1.169, allocations: 4 kB / 1.28 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003448/1.173, allocations: 0.877 MB / 1.281 GB, free: 9.57 MB / 0.9825 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.00198/1.175, allocations: 0.6844 MB / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.188, allocations: 4.867 MB / 1.287 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.188, allocations: 1.938 kB / 1.287 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004484/1.193, allocations: 1.834 MB / 1.288 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005375/1.198, allocations: 0.834 MB / 1.289 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.214, allocations: 7.555 MB / 1.296 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/1.217, allocations: 2.242 MB / 1.299 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.219, allocations: 255.2 kB / 1.299 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.219, allocations: 0 / 1.299 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of Templates: time 0.1256/1.345, allocations: 113.1 MB / 1.409 GB, free: 6.277 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches