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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009953/0.0009955, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001281/0.001281, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.802/1.802, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 3.039/3.039, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005108, allocations: 16 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8024, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01116/0.8136, allocations: 8.699 MB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.9957, allocations: 140.6 MB / 1.168 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.998, allocations: 39.81 kB / 1.168 GB, free: 10.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002849/1.001, allocations: 0.9524 MB / 1.169 GB, free: 9.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/1.004, allocations: 0.9595 MB / 1.17 GB, free: 8.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/1.008, allocations: 1.201 MB / 1.171 GB, free: 7.137 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006243/1.014, allocations: 4.499 MB / 1.176 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/1.016, allocations: 1.431 MB / 1.177 GB, free: 1.168 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/1.019, allocations: 1.479 MB / 1.179 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/1.021, allocations: 1.334 MB / 1.18 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002731/1.021, allocations: 100 kB / 1.18 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/1.023, allocations: 0.8273 MB / 1.181 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006487/1.024, allocations: 0.6264 MB / 1.181 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007183/1.024, allocations: 0.6094 MB / 1.182 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/1.029, allocations: 4.333 MB / 1.186 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/1.029, allocations: 7.984 kB / 1.186 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.405e-06/1.029, allocations: 0 / 1.186 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.729e-05/1.029, allocations: 0 / 1.186 GB, free: 7.82 MB / 0.9356 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.007281/1.036, allocations: 3.562 MB / 1.19 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.036, allocations: 8.562 kB / 1.19 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007323/1.043, allocations: 1.65 MB / 1.191 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/1.048, allocations: 2.524 MB / 1.194 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/1.049, allocations: 193.6 kB / 1.194 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/1.049, allocations: 204 kB / 1.194 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006654/1.056, allocations: 3.327 MB / 1.197 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/1.056, allocations: 4 kB / 1.197 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/1.056, allocations: 79.98 kB / 1.197 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/1.056, allocations: 48 kB / 1.198 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008449/1.064, allocations: 4.003 MB / 1.201 GB, free: 8.023 MB / 0.9512 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.0187/1.083, allocations: 10.59 MB / 1.212 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006649/1.09, allocations: 2.916 MB / 1.215 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/1.093, allocations: 1.381 MB / 1.216 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008269/1.094, allocations: 494.9 kB / 1.216 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003409/1.097, allocations: 1.625 MB / 1.218 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=166): time 3.447e-06/1.097, allocations: 0 / 1.218 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=166): time 0.01283/1.11, allocations: 4.753 MB / 1.223 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/1.11, allocations: 205.2 kB / 1.223 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006238/1.117, allocations: 3.138 MB / 1.226 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004229/1.117, allocations: 73.69 kB / 1.226 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/1.118, allocations: 1.131 MB / 1.227 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008179/1.119, allocations: 0.5469 MB / 1.228 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/1.119, allocations: 36 kB / 1.228 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003334/1.12, allocations: 385.9 kB / 1.228 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/1.123, allocations: 1.374 MB / 1.229 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/1.126, allocations: 1.772 MB / 1.231 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/1.13, allocations: 1.513 MB / 1.233 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.13, allocations: 7.938 kB / 1.233 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008843/1.139, allocations: 3.711 MB / 1.236 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/1.139, allocations: 8 kB / 1.236 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/1.139, allocations: 12 kB / 1.236 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/1.141, allocations: 403.2 kB / 1.237 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/1.143, allocations: 0.546 MB / 1.237 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/1.149, allocations: 5.396 MB / 1.242 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003924/1.153, allocations: 0.5094 MB / 1.243 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005717/1.153, allocations: 99.92 kB / 1.243 GB, free: 12.16 MB / 0.9981 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 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 2 {1 7,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002779/1.156, allocations: 1.112 MB / 1.244 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.158, allocations: 244.9 kB / 1.244 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/1.169, allocations: 3.587 MB / 1.248 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/1.169, allocations: 16 kB / 1.248 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.169, allocations: 4 kB / 1.248 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/1.169, allocations: 7.969 kB / 1.248 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006451/1.176, allocations: 2.967 MB / 1.251 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/1.176, allocations: 0 / 1.251 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/1.178, allocations: 435.3 kB / 1.251 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/1.18, allocations: 379 kB / 1.252 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/1.18, allocations: 59.92 kB / 1.252 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7514/1.932, allocations: 5.383 MB / 1.257 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.932, allocations: 1.094 kB / 1.257 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.945, allocations: 4.928 MB / 1.262 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.947, allocations: 0.81 MB / 1.262 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006798/1.948, allocations: 46.75 kB / 1.262 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/1.95, allocations: 346.7 kB / 1.263 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/1.951, allocations: 142.1 kB / 1.263 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/1.951, allocations: 67.42 kB / 1.263 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004673/1.956, allocations: 2.233 MB / 1.265 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.956, allocations: 0.6562 kB / 1.265 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004065/1.96, allocations: 0.8689 MB / 1.266 GB, free: 218.4 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 2 {1 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001996/1.962, allocations: 0.6843 MB / 1.267 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008244/1.97, allocations: 3.404 MB / 1.27 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.97, allocations: 1 kB / 1.27 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003879/1.974, allocations: 1.829 MB / 1.272 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/1.978, allocations: 0.7808 MB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.992, allocations: 7.632 MB / 1.28 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/1.994, allocations: 2.353 MB / 1.282 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00333/1.997, allocations: 0.8951 MB / 1.283 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007745/1.998, allocations: 225.7 kB / 1.283 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.753e-06/1.998, allocations: 0 / 1.283 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06993/2.068, allocations: 45.27 MB / 1.328 GB, free: 171.2 MB / 0.9981 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/jenkins/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