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.002209/0.002209, allocations: 105.4 kB / 15.99 MB, free: 6.344 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.002375/0.002376, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 4.43 MB / 190.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.37/2.37, allocations: 390.2 MB / 0.665 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.89 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6134, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.007835/0.6212, allocations: 8.333 MB / 0.9579 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1718/0.793, allocations: 152.3 MB / 1.107 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.7954, allocations: 39.81 kB / 1.107 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003529/0.799, allocations: 0.9994 MB / 1.108 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.803, allocations: 0.928 MB / 1.109 GB, free: 15 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004653/0.8076, allocations: 1.533 MB / 1.11 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006681/0.8143, allocations: 4.709 MB / 1.115 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003058/0.8174, allocations: 1.844 MB / 1.116 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.8209, allocations: 2.068 MB / 1.118 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.824, allocations: 1.771 MB / 1.12 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.8252, allocations: 376 kB / 1.121 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.8281, allocations: 1.155 MB / 1.122 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.8295, allocations: 0.9854 MB / 1.123 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003129/0.8326, allocations: 1.738 MB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006071/0.8387, allocations: 4.425 MB / 1.129 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.8388, allocations: 4 kB / 1.129 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.898e-06/0.8388, allocations: 3.984 kB / 1.129 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001886/0.839, allocations: 0 / 1.129 GB, free: 10.31 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.01195/0.8509, allocations: 4.073 MB / 1.133 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.851, allocations: 12.03 kB / 1.133 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008593/0.8596, allocations: 1.569 MB / 1.134 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006017/0.8657, allocations: 2.593 MB / 1.137 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/0.866, allocations: 189.6 kB / 1.137 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008153/0.8668, allocations: 215.9 kB / 1.137 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008853/0.8757, allocations: 3.315 MB / 1.14 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.8758, allocations: 0 / 1.14 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004377/0.8762, allocations: 76 kB / 1.14 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.8763, allocations: 48 kB / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00956/0.8858, allocations: 3.968 MB / 1.144 GB, free: 10.05 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.02075/0.9066, allocations: 10.14 MB / 1.154 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007528/0.9142, allocations: 2.919 MB / 1.157 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.9174, allocations: 1.375 MB / 1.158 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007622/0.9182, allocations: 491 kB / 1.159 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003688/0.9219, allocations: 1.629 MB / 1.16 GB, free: 9.125 MB / 0.92 GB Notification: Performance of pre-optimization done (n=166): time 4.528e-06/0.9219, allocations: 0 / 1.16 GB, free: 9.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=166): time 0.01278/0.9347, allocations: 4.742 MB / 1.165 GB, free: 4.285 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.9348, allocations: 201.2 kB / 1.165 GB, free: 4.047 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005593/0.9404, allocations: 3.169 MB / 1.168 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005028/0.941, allocations: 61.7 kB / 1.168 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.9423, allocations: 1.131 MB / 1.17 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000929/0.9433, allocations: 0.543 MB / 1.17 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.9444, allocations: 423.2 kB / 1.17 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9445, allocations: 313.1 kB / 1.171 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003223/0.9477, allocations: 1.366 MB / 1.172 GB, free: 13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/0.9513, allocations: 1.772 MB / 1.174 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006526/0.9579, allocations: 2.991 MB / 1.177 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.9579, allocations: 4 kB / 1.177 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.0103/0.9682, allocations: 3.714 MB / 1.18 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.9683, allocations: 13.72 kB / 1.18 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.9683, allocations: 11.98 kB / 1.18 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/0.9704, allocations: 399.2 kB / 1.181 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/0.9733, allocations: 0.546 MB / 1.181 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006032/0.9793, allocations: 5.725 MB / 1.187 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/0.983, allocations: 493.6 kB / 1.187 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004882/0.9835, allocations: 99.86 kB / 1.188 GB, free: 12.48 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.002257/0.9858, allocations: 1.124 MB / 1.189 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009395/0.9868, allocations: 244.9 kB / 1.189 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009394/0.9962, allocations: 3.567 MB / 1.192 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.9962, allocations: 20 kB / 1.192 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.9962, allocations: 7.938 kB / 1.192 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/0.9963, allocations: 7.969 kB / 1.192 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004866/1.001, allocations: 2.967 MB / 1.195 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.001, allocations: 0 / 1.195 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/1.004, allocations: 419.4 kB / 1.196 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/1.005, allocations: 371 kB / 1.196 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/1.006, allocations: 63.94 kB / 1.196 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/1.011, allocations: 5.741 MB / 1.202 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.011, allocations: 3.938 kB / 1.202 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.023, allocations: 4.918 MB / 1.206 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.024, allocations: 0.7902 MB / 1.207 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007506/1.025, allocations: 47.98 kB / 1.207 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.028, allocations: 317.3 kB / 1.208 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/1.028, allocations: 137.8 kB / 1.208 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.028, allocations: 71.94 kB / 1.208 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003884/1.032, allocations: 2.251 MB / 1.21 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.51e-07/1.032, allocations: 4 kB / 1.21 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002825/1.035, allocations: 0.838 MB / 1.211 GB, free: 3.98 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.001807/1.037, allocations: 0.7048 MB / 1.212 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.049, allocations: 4.868 MB / 1.216 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.049, allocations: 4.312 kB / 1.216 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004028/1.053, allocations: 1.823 MB / 1.218 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004277/1.057, allocations: 0.8131 MB / 1.219 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.071, allocations: 7.672 MB / 1.226 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/1.074, allocations: 2.238 MB / 1.229 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.075, allocations: 251.3 kB / 1.229 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/1.075, allocations: 4 kB / 1.229 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of Templates: time 0.516/1.591, allocations: 112.6 MB / 1.339 GB, free: 203.2 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