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.001354/0.001354, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001288/0.001288, allocations: 190.3 kB / 17.2 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.538/2.538, allocations: 437 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 60.03 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3236, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01291/0.3366, allocations: 9.893 MB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.8157/1.152, allocations: 154.7 MB / 1.179 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/1.155, allocations: 43.97 kB / 1.179 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/1.158, allocations: 1.141 MB / 1.18 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003948/1.162, allocations: 1.15 MB / 1.181 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/1.167, allocations: 1.702 MB / 1.183 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007003/1.174, allocations: 4.849 MB / 1.187 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/1.176, allocations: 1.798 MB / 1.189 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/1.18, allocations: 1.943 MB / 1.191 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/1.183, allocations: 1.785 MB / 1.193 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009672/1.184, allocations: 379.3 kB / 1.193 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/1.187, allocations: 1.146 MB / 1.194 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.188, allocations: 0.9793 MB / 1.195 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002924/1.191, allocations: 1.793 MB / 1.197 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009977/1.201, allocations: 5.455 MB / 1.202 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/1.201, allocations: 1.781 kB / 1.202 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.454e-06/1.201, allocations: 0 / 1.202 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001769/1.201, allocations: 3.984 kB / 1.202 GB, free: 10.88 MB / 0.9044 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.01379/1.215, allocations: 4.113 MB / 1.206 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.215, allocations: 8.703 kB / 1.206 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/1.226, allocations: 1.575 MB / 1.208 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00682/1.233, allocations: 2.593 MB / 1.21 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/1.233, allocations: 185.6 kB / 1.211 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009349/1.234, allocations: 216 kB / 1.211 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/1.246, allocations: 3.311 MB / 1.214 GB, free: 420 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.539e-05/1.246, allocations: 7.938 kB / 1.214 GB, free: 412 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005756/1.246, allocations: 84 kB / 1.214 GB, free: 328 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.28e-05/1.246, allocations: 48 kB / 1.214 GB, free: 280 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/1.257, allocations: 3.96 MB / 1.218 GB, free: 12.31 MB / 0.92 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.02061/1.278, allocations: 10.55 MB / 1.228 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007084/1.285, allocations: 2.915 MB / 1.231 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002914/1.288, allocations: 1.379 MB / 1.232 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/1.289, allocations: 495 kB / 1.233 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003291/1.292, allocations: 1.62 MB / 1.235 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=166): time 4.018e-06/1.292, allocations: 0 / 1.235 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166): time 0.01227/1.305, allocations: 4.751 MB / 1.239 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.305, allocations: 197.2 kB / 1.239 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00505/1.31, allocations: 3.165 MB / 1.242 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004827/1.31, allocations: 65.7 kB / 1.243 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.311, allocations: 1.123 MB / 1.244 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007275/1.312, allocations: 0.543 MB / 1.244 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/1.313, allocations: 427.2 kB / 1.245 GB, free: 468 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.313, allocations: 305.1 kB / 1.245 GB, free: 160 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/1.316, allocations: 1.378 MB / 1.246 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003484/1.32, allocations: 1.784 MB / 1.248 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006325/1.326, allocations: 2.987 MB / 1.251 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.326, allocations: 4 kB / 1.251 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008985/1.335, allocations: 3.722 MB / 1.254 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/1.335, allocations: 12 kB / 1.254 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.335, allocations: 8 kB / 1.255 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/1.337, allocations: 396.3 kB / 1.255 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/1.34, allocations: 0.5528 MB / 1.255 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/1.345, allocations: 5.726 MB / 1.261 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/1.349, allocations: 486.3 kB / 1.261 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/1.349, allocations: 103.9 kB / 1.262 GB, free: 14.25 MB / 0.9669 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.002265/1.352, allocations: 1.105 MB / 1.263 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009276/1.353, allocations: 256.7 kB / 1.263 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008759/1.361, allocations: 3.56 MB / 1.266 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.361, allocations: 19.98 kB / 1.266 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.362, allocations: 8 kB / 1.266 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/1.362, allocations: 11.91 kB / 1.266 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/1.366, allocations: 2.957 MB / 1.269 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.366, allocations: 0 / 1.269 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0022/1.369, allocations: 431.3 kB / 1.27 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/1.37, allocations: 367.1 kB / 1.27 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/1.37, allocations: 59.94 kB / 1.27 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005308/1.376, allocations: 5.738 MB / 1.276 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.376, allocations: 3.938 kB / 1.276 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.387, allocations: 4.918 MB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.389, allocations: 0.8019 MB / 1.281 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/1.39, allocations: 43.98 kB / 1.281 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.392, allocations: 307.5 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/1.393, allocations: 137.8 kB / 1.282 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.393, allocations: 67.95 kB / 1.282 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003656/1.396, allocations: 2.255 MB / 1.284 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.01e-07/1.396, allocations: 0 / 1.284 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002851/1.399, allocations: 0.877 MB / 1.285 GB, free: 5.734 MB / 0.9825 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.001733/1.401, allocations: 0.683 MB / 1.286 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.412, allocations: 4.876 MB / 1.29 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.412, allocations: 0.75 kB / 1.29 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003951/1.416, allocations: 1.827 MB / 1.292 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/1.42, allocations: 0.8331 MB / 1.293 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.432, allocations: 6.519 MB / 1.299 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/1.434, allocations: 2.23 MB / 1.301 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.436, allocations: 251.3 kB / 1.302 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of SimCode: time 9.51e-07/1.436, allocations: 0 / 1.302 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of Templates: time 0.1269/1.563, allocations: 113.1 MB / 1.412 GB, free: 3.477 MB / 1.107 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/jenkins1/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