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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001657/0.001657, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001904/0.001904, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 63.7 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3399, allocations: 151.7 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01154/0.3515, allocations: 9.875 MB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7593/1.111, allocations: 154.7 MB / 1.18 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/1.115, allocations: 45.06 kB / 1.18 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005252/1.12, allocations: 1.144 MB / 1.181 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005441/1.126, allocations: 1.152 MB / 1.182 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006011/1.132, allocations: 1.704 MB / 1.183 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009074/1.141, allocations: 4.884 MB / 1.188 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003703/1.145, allocations: 1.79 MB / 1.19 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/1.149, allocations: 2.022 MB / 1.192 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004068/1.153, allocations: 1.722 MB / 1.194 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001567/1.155, allocations: 375 kB / 1.194 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003971/1.159, allocations: 1.163 MB / 1.195 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001841/1.161, allocations: 0.9908 MB / 1.196 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003822/1.165, allocations: 1.78 MB / 1.198 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008516/1.173, allocations: 5.508 MB / 1.203 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.173, allocations: 0 / 1.203 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.435e-06/1.173, allocations: 0 / 1.203 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001641/1.174, allocations: 0 / 1.203 GB, free: 10.35 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.01057/1.184, allocations: 4.104 MB / 1.207 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.184, allocations: 10.98 kB / 1.207 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007514/1.192, allocations: 1.58 MB / 1.209 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005513/1.197, allocations: 2.675 MB / 1.211 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/1.197, allocations: 189.6 kB / 1.212 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/1.198, allocations: 208 kB / 1.212 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/1.205, allocations: 3.307 MB / 1.215 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/1.205, allocations: 0 / 1.215 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/1.205, allocations: 88 kB / 1.215 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/1.205, allocations: 48 kB / 1.215 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008471/1.214, allocations: 3.945 MB / 1.219 GB, free: 11.47 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.02546/1.239, allocations: 10.4 MB / 1.229 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007089/1.246, allocations: 2.888 MB / 1.232 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/1.249, allocations: 1.373 MB / 1.233 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007425/1.25, allocations: 0.4912 MB / 1.234 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003252/1.253, allocations: 1.618 MB / 1.235 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=166): time 3.035e-06/1.253, allocations: 0 / 1.235 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166): time 0.01151/1.265, allocations: 4.699 MB / 1.24 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.265, allocations: 197.2 kB / 1.24 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005234/1.27, allocations: 3.115 MB / 1.243 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004722/1.271, allocations: 69.69 kB / 1.243 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/1.272, allocations: 1.115 MB / 1.244 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007414/1.273, allocations: 0.5469 MB / 1.245 GB, free: 308 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007596/1.273, allocations: 423.3 kB / 1.245 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.274, allocations: 305.1 kB / 1.246 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/1.277, allocations: 1.374 MB / 1.247 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/1.28, allocations: 1.764 MB / 1.249 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005919/1.286, allocations: 2.987 MB / 1.252 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/1.286, allocations: 4 kB / 1.252 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008659/1.295, allocations: 3.699 MB / 1.255 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/1.295, allocations: 8 kB / 1.255 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/1.295, allocations: 12 kB / 1.255 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/1.296, allocations: 371 kB / 1.256 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/1.299, allocations: 0.5421 MB / 1.256 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/1.305, allocations: 5.714 MB / 1.262 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/1.309, allocations: 493.7 kB / 1.262 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004608/1.309, allocations: 91.94 kB / 1.262 GB, free: 13.77 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.002362/1.312, allocations: 1.109 MB / 1.263 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.313, allocations: 252.8 kB / 1.264 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008258/1.321, allocations: 3.521 MB / 1.267 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.321, allocations: 20 kB / 1.267 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.321, allocations: 3.984 kB / 1.267 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/1.321, allocations: 11.91 kB / 1.267 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/1.326, allocations: 2.941 MB / 1.27 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.326, allocations: 0 / 1.27 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.328, allocations: 431.3 kB / 1.27 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/1.33, allocations: 355 kB / 1.271 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/1.33, allocations: 59.94 kB / 1.271 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00545/1.335, allocations: 5.715 MB / 1.276 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.335, allocations: 3.984 kB / 1.276 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/1.346, allocations: 4.879 MB / 1.281 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.349, allocations: 0.7902 MB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/1.349, allocations: 47.98 kB / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.351, allocations: 301.5 kB / 1.282 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/1.352, allocations: 129.8 kB / 1.282 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.352, allocations: 71.88 kB / 1.282 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003422/1.355, allocations: 2.224 MB / 1.284 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.31e-07/1.355, allocations: 0 / 1.284 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002541/1.358, allocations: 0.8731 MB / 1.285 GB, free: 5.445 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.001663/1.36, allocations: 0.691 MB / 1.286 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007024/1.367, allocations: 3.4 MB / 1.289 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.367, allocations: 0 / 1.289 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003435/1.37, allocations: 1.823 MB / 1.291 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/1.374, allocations: 0.8323 MB / 1.292 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.385, allocations: 6.601 MB / 1.298 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/1.387, allocations: 2.345 MB / 1.301 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003081/1.39, allocations: 0.9283 MB / 1.302 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008364/1.391, allocations: 223.3 kB / 1.302 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.391, allocations: 0 / 1.302 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.08156/1.473, allocations: 48.25 MB / 1.349 GB, free: 4.824 MB / 1.045 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 -s cvode -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