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.001556/0.001556, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00178/0.001781, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.303/2.303, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7633/0.7647, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.009387/0.7741, allocations: 8.382 MB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.9579, allocations: 154.6 MB / 1.248 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.9604, allocations: 48.25 kB / 1.248 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003801/0.9643, allocations: 1.099 MB / 1.249 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004125/0.9684, allocations: 1.045 MB / 1.25 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004815/0.9733, allocations: 1.687 MB / 1.251 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006014/0.9793, allocations: 4.641 MB / 1.256 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.982, allocations: 1.837 MB / 1.258 GB, free: 432 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.9849, allocations: 2.022 MB / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.9872, allocations: 1.685 MB / 1.261 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008413/0.988, allocations: 383.9 kB / 1.262 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.9905, allocations: 1.163 MB / 1.263 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.9918, allocations: 0.9894 MB / 1.264 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002625/0.9944, allocations: 1.73 MB / 1.266 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006519/1.001, allocations: 5.43 MB / 1.271 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.001, allocations: 0 / 1.271 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/1.001, allocations: 0 / 1.271 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.111e-05/1.001, allocations: 4 kB / 1.271 GB, free: 2.984 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: 502 * Number of variables: 502 Notification: Performance of Generate backend data structure: time 0.007914/1.009, allocations: 4.06 MB / 1.275 GB, free: 14.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.009, allocations: 12.03 kB / 1.275 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007885/1.017, allocations: 1.577 MB / 1.276 GB, free: 13.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/1.021, allocations: 2.671 MB / 1.279 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/1.022, allocations: 185.6 kB / 1.279 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/1.022, allocations: 208 kB / 1.279 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006629/1.029, allocations: 3.307 MB / 1.283 GB, free: 6.766 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/1.029, allocations: 7.922 kB / 1.283 GB, free: 6.758 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/1.029, allocations: 88 kB / 1.283 GB, free: 6.672 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/1.029, allocations: 48 kB / 1.283 GB, free: 6.625 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008531/1.037, allocations: 3.948 MB / 1.287 GB, free: 2.672 MB / 1.014 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.01791/1.055, allocations: 10.01 MB / 1.296 GB, free: 8.391 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007034/1.062, allocations: 2.908 MB / 1.299 GB, free: 5.477 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/1.065, allocations: 1.383 MB / 1.301 GB, free: 4.094 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006886/1.066, allocations: 494.7 kB / 1.301 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003191/1.069, allocations: 1.614 MB / 1.303 GB, free: 1.883 MB / 1.029 GB Notification: Performance of pre-optimization done (n=166): time 2.905e-06/1.069, allocations: 0 / 1.303 GB, free: 1.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=166): time 0.01122/1.081, allocations: 4.691 MB / 1.307 GB, free: 13.1 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.081, allocations: 205.2 kB / 1.307 GB, free: 12.85 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004333/1.085, allocations: 3.111 MB / 1.31 GB, free: 9.719 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000249/1.085, allocations: 65.7 kB / 1.311 GB, free: 9.648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009965/1.086, allocations: 1.119 MB / 1.312 GB, free: 8.516 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005651/1.087, allocations: 0.5547 MB / 1.312 GB, free: 7.953 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006681/1.088, allocations: 415.2 kB / 1.313 GB, free: 7.543 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.088, allocations: 309.1 kB / 1.313 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/1.091, allocations: 1.37 MB / 1.314 GB, free: 5.867 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/1.094, allocations: 1.764 MB / 1.316 GB, free: 3.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006024/1.1, allocations: 2.983 MB / 1.319 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/1.1, allocations: 0 / 1.319 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008253/1.108, allocations: 3.699 MB / 1.322 GB, free: 13.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.108, allocations: 8 kB / 1.322 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.108, allocations: 15.98 kB / 1.322 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/1.11, allocations: 371.2 kB / 1.323 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/1.112, allocations: 0.5498 MB / 1.323 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/1.117, allocations: 5.702 MB / 1.329 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/1.12, allocations: 484.1 kB / 1.329 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/1.121, allocations: 95.94 kB / 1.329 GB, free: 5.449 MB / 1.061 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.001809/1.123, allocations: 1.126 MB / 1.331 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005977/1.123, allocations: 248.9 kB / 1.331 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007923/1.131, allocations: 3.532 MB / 1.334 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/1.131, allocations: 20 kB / 1.334 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.131, allocations: 7.938 kB / 1.334 GB, free: 496 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/1.131, allocations: 7.969 kB / 1.334 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/1.135, allocations: 2.94 MB / 1.337 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.135, allocations: 0 / 1.337 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/1.137, allocations: 427.3 kB / 1.338 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/1.138, allocations: 351.1 kB / 1.338 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/1.139, allocations: 55.94 kB / 1.338 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/1.144, allocations: 5.725 MB / 1.344 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.144, allocations: 3.938 kB / 1.344 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.154, allocations: 4.89 MB / 1.348 GB, free: 1.547 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.156, allocations: 0.7747 MB / 1.349 GB, free: 0.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/1.156, allocations: 43.98 kB / 1.349 GB, free: 0.707 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.158, allocations: 307.5 kB / 1.349 GB, free: 416 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.159, allocations: 129.8 kB / 1.35 GB, free: 288 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.159, allocations: 71.89 kB / 1.35 GB, free: 216 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003072/1.162, allocations: 2.22 MB / 1.352 GB, free: 13.98 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.9e-07/1.162, allocations: 0 / 1.352 GB, free: 13.98 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002131/1.164, allocations: 0.8341 MB / 1.353 GB, free: 13.14 MB / 1.092 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.001544/1.166, allocations: 0.7022 MB / 1.353 GB, free: 12.62 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007097/1.173, allocations: 3.392 MB / 1.357 GB, free: 9.188 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.173, allocations: 4 kB / 1.357 GB, free: 9.184 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003512/1.176, allocations: 1.823 MB / 1.358 GB, free: 7.328 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.18, allocations: 0.8049 MB / 1.359 GB, free: 6.551 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/1.192, allocations: 6.574 MB / 1.366 GB, free: 15.94 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/1.194, allocations: 2.234 MB / 1.368 GB, free: 13.67 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.195, allocations: 247.3 kB / 1.368 GB, free: 13.43 MB / 1.107 GB Notification: Performance of SimCode: time 1.072e-06/1.195, allocations: 0 / 1.368 GB, free: 13.43 MB / 1.107 GB Notification: Performance of Templates: time 0.123/1.318, allocations: 112.9 MB / 1.478 GB, free: 12.55 MB / 1.217 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/jenkins1/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