Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008543/0.008543, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001915/0.001915, allocations: 199.1 kB / 16.68 MB, free: 5.953 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.46/1.46, allocations: 222.9 MB / 240.3 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7347 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.12 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.155, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01116/1.166, allocations: 9.852 MB / 1.217 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.198/1.364, allocations: 154.7 MB / 1.368 GB, free: 8.383 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003476/1.368, allocations: 47.75 kB / 1.368 GB, free: 8.336 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004643/1.372, allocations: 1.15 MB / 1.37 GB, free: 7.18 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005642/1.378, allocations: 1.149 MB / 1.371 GB, free: 6.031 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00609/1.384, allocations: 1.709 MB / 1.372 GB, free: 4.328 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008087/1.392, allocations: 4.871 MB / 1.377 GB, free: 15.45 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003588/1.396, allocations: 1.802 MB / 1.379 GB, free: 13.6 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/1.4, allocations: 2.069 MB / 1.381 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003842/1.404, allocations: 1.724 MB / 1.383 GB, free: 9.793 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001513/1.405, allocations: 368 kB / 1.383 GB, free: 9.434 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/1.409, allocations: 1.163 MB / 1.384 GB, free: 8.27 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002002/1.411, allocations: 0.9933 MB / 1.385 GB, free: 7.273 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004473/1.416, allocations: 1.781 MB / 1.387 GB, free: 5.484 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/1.426, allocations: 5.512 MB / 1.392 GB, free: 15.95 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.426, allocations: 3.938 kB / 1.392 GB, free: 15.95 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.224e-06/1.426, allocations: 4 kB / 1.392 GB, free: 15.95 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002383/1.427, allocations: 0 / 1.392 GB, free: 15.95 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.01375/1.44, allocations: 4.099 MB / 1.396 GB, free: 11.78 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.44, allocations: 12.03 kB / 1.396 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007924/1.448, allocations: 1.573 MB / 1.398 GB, free: 10.19 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/1.454, allocations: 2.663 MB / 1.4 GB, free: 7.457 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/1.455, allocations: 185.6 kB / 1.4 GB, free: 7.27 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/1.455, allocations: 219.9 kB / 1.401 GB, free: 7.055 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007284/1.462, allocations: 3.307 MB / 1.404 GB, free: 3.691 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/1.462, allocations: 4 kB / 1.404 GB, free: 3.688 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/1.463, allocations: 80 kB / 1.404 GB, free: 3.609 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/1.463, allocations: 48 kB / 1.404 GB, free: 3.562 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008532/1.471, allocations: 3.948 MB / 1.408 GB, free: 15.61 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.02087/1.492, allocations: 10.39 MB / 1.418 GB, free: 4.867 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006953/1.499, allocations: 2.916 MB / 1.421 GB, free: 1.949 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/1.502, allocations: 1.375 MB / 1.422 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/1.503, allocations: 495 kB / 1.423 GB, free: 15.99 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003386/1.506, allocations: 1.621 MB / 1.424 GB, free: 14.35 MB / 1.154 GB Notification: Performance of pre-optimization done (n=166): time 3.837e-06/1.506, allocations: 0 / 1.424 GB, free: 14.35 MB / 1.154 GB Notification: Performance of matching and sorting (n=166): time 0.01229/1.519, allocations: 4.691 MB / 1.429 GB, free: 9.566 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/1.519, allocations: 201.2 kB / 1.429 GB, free: 9.324 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005631/1.525, allocations: 3.122 MB / 1.432 GB, free: 6.18 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005695/1.525, allocations: 61.7 kB / 1.432 GB, free: 6.113 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/1.526, allocations: 1.123 MB / 1.433 GB, free: 4.977 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009237/1.527, allocations: 0.543 MB / 1.434 GB, free: 4.426 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007755/1.528, allocations: 423.2 kB / 1.434 GB, free: 4.008 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.528, allocations: 301.1 kB / 1.435 GB, free: 3.711 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/1.531, allocations: 1.374 MB / 1.436 GB, free: 2.336 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/1.535, allocations: 1.768 MB / 1.438 GB, free: 432 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005946/1.541, allocations: 2.983 MB / 1.44 GB, free: 13.3 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.541, allocations: 0 / 1.44 GB, free: 13.3 MB / 1.17 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009238/1.55, allocations: 3.703 MB / 1.444 GB, free: 9.574 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/1.55, allocations: 8 kB / 1.444 GB, free: 9.566 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/1.55, allocations: 12 kB / 1.444 GB, free: 9.555 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/1.552, allocations: 367.3 kB / 1.444 GB, free: 9.184 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/1.554, allocations: 0.5421 MB / 1.445 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/1.56, allocations: 5.705 MB / 1.451 GB, free: 2.484 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/1.564, allocations: 491.7 kB / 1.451 GB, free: 2.004 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006079/1.565, allocations: 95.94 kB / 1.451 GB, free: 1.91 MB / 1.17 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.002879/1.568, allocations: 1.112 MB / 1.452 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.569, allocations: 248.9 kB / 1.452 GB, free: 0.543 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00871/1.578, allocations: 3.528 MB / 1.456 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/1.578, allocations: 20 kB / 1.456 GB, free: 12.97 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.578, allocations: 3.938 kB / 1.456 GB, free: 12.97 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/1.578, allocations: 7.969 kB / 1.456 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005441/1.583, allocations: 2.951 MB / 1.459 GB, free: 9.953 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.583, allocations: 3.938 kB / 1.459 GB, free: 9.949 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.585, allocations: 431.4 kB / 1.459 GB, free: 9.527 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/1.587, allocations: 351.1 kB / 1.46 GB, free: 9.172 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/1.587, allocations: 59.94 kB / 1.46 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00544/1.593, allocations: 5.71 MB / 1.465 GB, free: 2.949 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.593, allocations: 7.875 kB / 1.465 GB, free: 2.941 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.605, allocations: 4.886 MB / 1.47 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003217/1.608, allocations: 0.7826 MB / 1.471 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.61, allocations: 51.89 kB / 1.471 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003331/1.613, allocations: 303.5 kB / 1.471 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004545/1.613, allocations: 133.8 kB / 1.471 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.614, allocations: 75.89 kB / 1.471 GB, free: 12.66 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007173/1.621, allocations: 2.22 MB / 1.473 GB, free: 10.43 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.71e-07/1.621, allocations: 0 / 1.473 GB, free: 10.43 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.006821/1.628, allocations: 0.8615 MB / 1.474 GB, free: 9.57 MB / 1.201 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.003285/1.631, allocations: 0.6904 MB / 1.475 GB, free: 9.055 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.641, allocations: 3.399 MB / 1.478 GB, free: 5.613 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.641, allocations: 0 / 1.478 GB, free: 5.613 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004685/1.646, allocations: 1.828 MB / 1.48 GB, free: 3.75 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006543/1.653, allocations: 0.8367 MB / 1.481 GB, free: 2.941 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/1.67, allocations: 6.596 MB / 1.487 GB, free: 12.32 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.674, allocations: 2.345 MB / 1.49 GB, free: 9.938 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.004395/1.678, allocations: 0.936 MB / 1.491 GB, free: 8.996 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/1.68, allocations: 223.3 kB / 1.491 GB, free: 8.777 MB / 1.217 GB Notification: Performance of SimCode: time 1.493e-06/1.68, allocations: 0 / 1.491 GB, free: 8.777 MB / 1.217 GB Notification: Performance of Templates: time 0.09316/1.773, allocations: 48.77 MB / 1.538 GB, free: 8.395 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches