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.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001819/0.001819, allocations: 192.3 kB / 16.13 MB, free: 6.645 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.578/1.578, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.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.899/2.899, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001646, allocations: 67.89 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.882/0.8837, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01293/0.8967, allocations: 9.815 MB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1838/1.081, allocations: 152.4 MB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/1.083, allocations: 39.66 kB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003644/1.087, allocations: 1.019 MB / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003938/1.091, allocations: 1.025 MB / 1.177 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/1.095, allocations: 1.466 MB / 1.178 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006773/1.102, allocations: 4.949 MB / 1.183 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/1.104, allocations: 1.731 MB / 1.185 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/1.107, allocations: 1.764 MB / 1.187 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/1.11, allocations: 1.595 MB / 1.188 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008619/1.111, allocations: 184 kB / 1.188 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/1.113, allocations: 0.9483 MB / 1.189 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008401/1.114, allocations: 0.755 MB / 1.19 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/1.116, allocations: 1.558 MB / 1.192 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005364/1.121, allocations: 5.286 MB / 1.197 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.121, allocations: 0 / 1.197 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/1.121, allocations: 0 / 1.197 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001172/1.122, allocations: 0 / 1.197 GB, free: 9.523 MB / 0.9512 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.008993/1.131, allocations: 4.115 MB / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.131, allocations: 8.031 kB / 1.201 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008075/1.139, allocations: 1.581 MB / 1.202 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/1.144, allocations: 2.589 MB / 1.205 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/1.144, allocations: 189.6 kB / 1.205 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/1.144, allocations: 212 kB / 1.205 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007912/1.152, allocations: 3.315 MB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/1.152, allocations: 3.938 kB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/1.153, allocations: 80 kB / 1.209 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/1.153, allocations: 48 kB / 1.209 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/1.163, allocations: 3.964 MB / 1.213 GB, free: 9.215 MB / 0.9669 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.02263/1.186, allocations: 10.51 MB / 1.223 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00808/1.194, allocations: 2.916 MB / 1.226 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003271/1.198, allocations: 1.383 MB / 1.227 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008305/1.198, allocations: 495 kB / 1.227 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003919/1.202, allocations: 1.617 MB / 1.229 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 5.751e-06/1.202, allocations: 0 / 1.229 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01313/1.216, allocations: 4.742 MB / 1.234 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.216, allocations: 201.2 kB / 1.234 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006634/1.222, allocations: 3.165 MB / 1.237 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005433/1.223, allocations: 61.7 kB / 1.237 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/1.224, allocations: 1.131 MB / 1.238 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009518/1.225, allocations: 0.543 MB / 1.239 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.226, allocations: 427.2 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.227, allocations: 305.1 kB / 1.239 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/1.23, allocations: 1.378 MB / 1.241 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/1.233, allocations: 1.772 MB / 1.242 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006316/1.24, allocations: 2.994 MB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/1.24, allocations: 4 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009466/1.249, allocations: 3.722 MB / 1.249 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/1.249, allocations: 9.562 kB / 1.249 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/1.249, allocations: 12 kB / 1.249 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/1.251, allocations: 399.2 kB / 1.249 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.254, allocations: 0.5537 MB / 1.25 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7167/1.971, allocations: 5.378 MB / 1.255 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/1.975, allocations: 495.9 kB / 1.256 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006244/1.976, allocations: 96.14 kB / 1.256 GB, free: 223.3 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 (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.003385/1.979, allocations: 1.12 MB / 1.257 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.98, allocations: 249.7 kB / 1.257 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.991, allocations: 3.558 MB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/1.992, allocations: 20.31 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.992, allocations: 1.969 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.389e-05/1.992, allocations: 9 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/1.998, allocations: 2.964 MB / 1.263 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.998, allocations: 3.719 kB / 1.263 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/2.001, allocations: 427 kB / 1.264 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/2.003, allocations: 386.6 kB / 1.264 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004468/2.004, allocations: 64.28 kB / 1.264 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/2.009, allocations: 5.393 MB / 1.27 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.009, allocations: 0.7188 kB / 1.27 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/2.022, allocations: 4.92 MB / 1.274 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/2.025, allocations: 0.7889 MB / 1.275 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000867/2.026, allocations: 50.48 kB / 1.275 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/2.028, allocations: 325.7 kB / 1.276 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/2.029, allocations: 138.5 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/2.029, allocations: 67.98 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004043/2.033, allocations: 2.257 MB / 1.278 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/2.033, allocations: 0 / 1.278 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004097/2.037, allocations: 0.8676 MB / 1.279 GB, free: 212.9 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 (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.001869/2.039, allocations: 0.6947 MB / 1.279 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007817/2.047, allocations: 3.396 MB / 1.283 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/2.047, allocations: 3.281 kB / 1.283 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003731/2.051, allocations: 1.828 MB / 1.285 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/2.056, allocations: 0.7891 MB / 1.285 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/2.069, allocations: 7.705 MB / 1.293 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/2.072, allocations: 2.356 MB / 1.295 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004012/2.076, allocations: 0.8969 MB / 1.296 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/2.077, allocations: 223.3 kB / 1.296 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/2.077, allocations: 4 kB / 1.296 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.06421/2.142, allocations: 47 MB / 1.342 GB, free: 156 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