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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007192/0.007192, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001709/0.001709, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6166, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.007727/0.6244, allocations: 8.334 MB / 0.9577 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1652/0.7896, allocations: 152.2 MB / 1.106 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003609/0.7933, allocations: 43.75 kB / 1.106 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004247/0.7976, allocations: 0.9914 MB / 1.107 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.8022, allocations: 0.9039 MB / 1.108 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.8073, allocations: 1.456 MB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006574/0.8139, allocations: 4.716 MB / 1.114 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.8167, allocations: 1.777 MB / 1.116 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.8197, allocations: 1.717 MB / 1.118 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/0.8227, allocations: 1.562 MB / 1.119 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008448/0.8236, allocations: 180 kB / 1.119 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.8261, allocations: 0.9444 MB / 1.12 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.8273, allocations: 0.7511 MB / 1.121 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002673/0.83, allocations: 1.515 MB / 1.123 GB, free: 272 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005159/0.8352, allocations: 4.362 MB / 1.127 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.8352, allocations: 0 / 1.127 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8352, allocations: 3.938 kB / 1.127 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001786/0.8354, allocations: 0 / 1.127 GB, free: 11.89 MB / 0.8887 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.01111/0.8465, allocations: 4.072 MB / 1.131 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.8466, allocations: 8.031 kB / 1.131 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008412/0.855, allocations: 1.581 MB / 1.132 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005614/0.8606, allocations: 2.585 MB / 1.135 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.8609, allocations: 189.6 kB / 1.135 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007862/0.8617, allocations: 215.9 kB / 1.135 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008439/0.8702, allocations: 3.323 MB / 1.139 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.8703, allocations: 0 / 1.139 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/0.8707, allocations: 87.98 kB / 1.139 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.8707, allocations: 48 kB / 1.139 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009221/0.8799, allocations: 3.96 MB / 1.143 GB, free: 11.62 MB / 0.9044 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.02003/0.9, allocations: 10.14 MB / 1.152 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007317/0.9074, allocations: 2.919 MB / 1.155 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.9104, allocations: 1.379 MB / 1.157 GB, free: 12.9 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007469/0.9112, allocations: 491 kB / 1.157 GB, free: 12.33 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003514/0.9147, allocations: 1.629 MB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=166): time 4.058e-06/0.9148, allocations: 4 kB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=166): time 0.01239/0.9272, allocations: 4.734 MB / 1.163 GB, free: 5.848 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.9273, allocations: 201.2 kB / 1.163 GB, free: 5.609 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005674/0.933, allocations: 3.173 MB / 1.167 GB, free: 2.414 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003614/0.9334, allocations: 65.7 kB / 1.167 GB, free: 2.344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.9346, allocations: 1.127 MB / 1.168 GB, free: 1.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007349/0.9353, allocations: 0.5469 MB / 1.168 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.9364, allocations: 419.2 kB / 1.169 GB, free: 240 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.9365, allocations: 305.1 kB / 1.169 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/0.9396, allocations: 1.366 MB / 1.17 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/0.9432, allocations: 1.784 MB / 1.172 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006284/0.9495, allocations: 2.979 MB / 1.175 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.9495, allocations: 4 kB / 1.175 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008923/0.9585, allocations: 3.722 MB / 1.179 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.9585, allocations: 14.23 kB / 1.179 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.9586, allocations: 16 kB / 1.179 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.9606, allocations: 399 kB / 1.179 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/0.9635, allocations: 0.5421 MB / 1.18 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.9691, allocations: 5.382 MB / 1.185 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/0.9725, allocations: 489.5 kB / 1.185 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/0.9729, allocations: 99.88 kB / 1.185 GB, free: 14.4 MB / 0.9512 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.00214/0.9751, allocations: 1.124 MB / 1.186 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009201/0.976, allocations: 240.9 kB / 1.187 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009058/0.985, allocations: 3.563 MB / 1.19 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.9851, allocations: 20 kB / 1.19 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.9851, allocations: 3.984 kB / 1.19 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.9851, allocations: 7.969 kB / 1.19 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.9899, allocations: 2.967 MB / 1.193 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.9899, allocations: 0 / 1.193 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/0.9922, allocations: 431.3 kB / 1.194 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.994, allocations: 383 kB / 1.194 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.9942, allocations: 59.94 kB / 1.194 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/0.9995, allocations: 5.394 MB / 1.199 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.9995, allocations: 0 / 1.199 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.011, allocations: 4.918 MB / 1.204 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.013, allocations: 0.7903 MB / 1.205 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007488/1.013, allocations: 51.89 kB / 1.205 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/1.016, allocations: 317.5 kB / 1.205 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/1.017, allocations: 141.7 kB / 1.205 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/1.017, allocations: 67.95 kB / 1.205 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004052/1.021, allocations: 2.251 MB / 1.208 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.021, allocations: 4 kB / 1.208 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002984/1.024, allocations: 0.8419 MB / 1.208 GB, free: 6.266 MB / 0.9669 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.001923/1.026, allocations: 0.6929 MB / 1.209 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00787/1.034, allocations: 3.395 MB / 1.212 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.034, allocations: 3.938 kB / 1.212 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003826/1.037, allocations: 1.828 MB / 1.214 GB, free: 448 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004258/1.042, allocations: 0.7409 MB / 1.215 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/1.056, allocations: 7.691 MB / 1.222 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002202/1.058, allocations: 2.224 MB / 1.225 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.06, allocations: 255.3 kB / 1.225 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/1.06, allocations: 0 / 1.225 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.5263/1.586, allocations: 112.6 MB / 1.335 GB, free: 205.3 MB / 0.9981 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