Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01018/0.01018, allocations: 101 kB / 15.73 MB, free: 5.988 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.002104/0.002104, allocations: 193.8 kB / 16.67 MB, free: 5.91 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.05 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.199, allocations: 159.2 MB / 1.221 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01231/1.211, allocations: 9.867 MB / 1.23 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1912/1.403, allocations: 155.2 MB / 1.382 GB, free: 12.43 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00346/1.406, allocations: 51.75 kB / 1.382 GB, free: 12.38 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004459/1.411, allocations: 1.15 MB / 1.383 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005405/1.416, allocations: 1.158 MB / 1.384 GB, free: 10.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005532/1.422, allocations: 1.721 MB / 1.386 GB, free: 8.352 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008135/1.43, allocations: 4.864 MB / 1.39 GB, free: 3.477 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/1.433, allocations: 1.275 MB / 1.392 GB, free: 2.152 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/1.437, allocations: 2.061 MB / 1.394 GB, free: 88 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003731/1.44, allocations: 1.728 MB / 1.395 GB, free: 14.35 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001577/1.442, allocations: 372 kB / 1.396 GB, free: 13.99 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003592/1.446, allocations: 1.159 MB / 1.397 GB, free: 12.83 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001992/1.448, allocations: 1.005 MB / 1.398 GB, free: 11.82 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004415/1.452, allocations: 1.781 MB / 1.4 GB, free: 10.03 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/1.463, allocations: 5.532 MB / 1.405 GB, free: 4.48 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/1.463, allocations: 0 / 1.405 GB, free: 4.48 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.166e-06/1.463, allocations: 4 kB / 1.405 GB, free: 4.477 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002116/1.463, allocations: 0 / 1.405 GB, free: 4.477 MB / 1.123 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.01122/1.474, allocations: 4.197 MB / 1.409 GB, free: 216 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.474, allocations: 8.031 kB / 1.409 GB, free: 208 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008234/1.482, allocations: 1.594 MB / 1.411 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00616/1.489, allocations: 2.689 MB / 1.413 GB, free: 11.85 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/1.489, allocations: 189.6 kB / 1.413 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004944/1.489, allocations: 212 kB / 1.414 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008467/1.498, allocations: 3.315 MB / 1.417 GB, free: 8.078 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.88e-05/1.498, allocations: 0 / 1.417 GB, free: 8.078 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/1.498, allocations: 84 kB / 1.417 GB, free: 7.996 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/1.498, allocations: 48 kB / 1.417 GB, free: 7.949 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/1.508, allocations: 3.948 MB / 1.421 GB, free: 3.996 MB / 1.139 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.02809/1.537, allocations: 10.41 MB / 1.431 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008392/1.545, allocations: 2.786 MB / 1.434 GB, free: 6.445 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003441/1.548, allocations: 1.293 MB / 1.435 GB, free: 5.148 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/1.549, allocations: 499.1 kB / 1.436 GB, free: 4.566 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003827/1.553, allocations: 1.614 MB / 1.437 GB, free: 2.934 MB / 1.154 GB Notification: Performance of pre-optimization done (n=166): time 5.82e-06/1.553, allocations: 0 / 1.437 GB, free: 2.934 MB / 1.154 GB Notification: Performance of matching and sorting (n=166): time 0.01275/1.566, allocations: 4.7 MB / 1.442 GB, free: 14.14 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.566, allocations: 201.2 kB / 1.442 GB, free: 13.9 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007844/1.574, allocations: 3.115 MB / 1.445 GB, free: 10.76 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006409/1.575, allocations: 61.7 kB / 1.445 GB, free: 10.7 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.576, allocations: 1.144 MB / 1.446 GB, free: 9.539 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.577, allocations: 0.5694 MB / 1.447 GB, free: 8.965 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/1.579, allocations: 427.3 kB / 1.447 GB, free: 8.539 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.579, allocations: 305.1 kB / 1.447 GB, free: 8.238 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/1.582, allocations: 1.366 MB / 1.449 GB, free: 6.871 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/1.586, allocations: 1.768 MB / 1.45 GB, free: 4.961 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006375/1.592, allocations: 2.979 MB / 1.453 GB, free: 1.844 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/1.592, allocations: 7.938 kB / 1.453 GB, free: 1.836 MB / 1.17 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009306/1.602, allocations: 3.708 MB / 1.457 GB, free: 14.11 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/1.602, allocations: 12 kB / 1.457 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/1.602, allocations: 8 kB / 1.457 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/1.604, allocations: 375.2 kB / 1.457 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/1.606, allocations: 0.546 MB / 1.458 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005942/1.612, allocations: 5.704 MB / 1.463 GB, free: 7.008 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/1.617, allocations: 490.2 kB / 1.464 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007764/1.618, allocations: 95.94 kB / 1.464 GB, free: 6.434 MB / 1.186 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.004033/1.622, allocations: 1.117 MB / 1.465 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/1.624, allocations: 258.3 kB / 1.465 GB, free: 5.051 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.634, allocations: 3.529 MB / 1.469 GB, free: 1.5 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/1.634, allocations: 16 kB / 1.469 GB, free: 1.484 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.634, allocations: 7.938 kB / 1.469 GB, free: 1.477 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/1.634, allocations: 11.95 kB / 1.469 GB, free: 1.465 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/1.64, allocations: 2.957 MB / 1.472 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/1.64, allocations: 0 / 1.472 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/1.642, allocations: 419.3 kB / 1.472 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/1.644, allocations: 355.1 kB / 1.472 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002749/1.644, allocations: 63.92 kB / 1.473 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005653/1.65, allocations: 5.718 MB / 1.478 GB, free: 7.449 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.65, allocations: 3.938 kB / 1.478 GB, free: 7.445 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.662, allocations: 4.896 MB / 1.483 GB, free: 2.52 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.664, allocations: 0.7955 MB / 1.484 GB, free: 1.703 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.665, allocations: 51.88 kB / 1.484 GB, free: 1.652 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.668, allocations: 307.5 kB / 1.484 GB, free: 1.352 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/1.669, allocations: 129.8 kB / 1.484 GB, free: 1.223 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.669, allocations: 71.94 kB / 1.484 GB, free: 1.152 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.005055/1.674, allocations: 2.22 MB / 1.486 GB, free: 14.92 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.674, allocations: 3.938 kB / 1.486 GB, free: 14.91 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004172/1.678, allocations: 0.8694 MB / 1.487 GB, free: 14.04 MB / 1.217 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.002312/1.681, allocations: 0.6893 MB / 1.488 GB, free: 13.54 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008068/1.689, allocations: 3.31 MB / 1.491 GB, free: 10.19 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.689, allocations: 0 / 1.491 GB, free: 10.19 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003911/1.692, allocations: 1.749 MB / 1.493 GB, free: 8.398 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/1.698, allocations: 0.8511 MB / 1.494 GB, free: 7.574 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.713, allocations: 6.669 MB / 1.5 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/1.716, allocations: 2.349 MB / 1.502 GB, free: 14.48 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.004139/1.72, allocations: 0.9361 MB / 1.503 GB, free: 13.54 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/1.722, allocations: 223.3 kB / 1.504 GB, free: 13.32 MB / 1.232 GB Notification: Performance of SimCode: time 1.963e-06/1.722, allocations: 4 kB / 1.504 GB, free: 13.32 MB / 1.232 GB Notification: Performance of Templates: time 0.08745/1.809, allocations: 49.02 MB / 1.551 GB, free: 12.71 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches