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.001447/0.001447, allocations: 117 kB / 16.37 MB, free: 6.016 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.001609/0.001609, allocations: 192.6 kB / 17.3 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.349/1.349, 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.405/2.405, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 56.25 kB / 0.8707 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 151.7 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01352/0.3202, allocations: 9.879 MB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6812/1.002, allocations: 154.7 MB / 1.18 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/1.004, allocations: 48.94 kB / 1.18 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003709/1.008, allocations: 1.138 MB / 1.181 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/1.012, allocations: 1.153 MB / 1.182 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004427/1.016, allocations: 1.704 MB / 1.183 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006491/1.023, allocations: 4.878 MB / 1.188 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/1.025, allocations: 1.798 MB / 1.19 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/1.028, allocations: 2.008 MB / 1.192 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/1.03, allocations: 1.727 MB / 1.194 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004234/1.031, allocations: 375.5 kB / 1.194 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/1.033, allocations: 1.159 MB / 1.195 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008985/1.034, allocations: 0.9939 MB / 1.196 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001803/1.035, allocations: 1.78 MB / 1.198 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005239/1.041, allocations: 5.509 MB / 1.203 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.041, allocations: 0 / 1.203 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/1.041, allocations: 0 / 1.203 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.952e-05/1.041, allocations: 0 / 1.203 GB, free: 10.38 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.008297/1.049, allocations: 4.103 MB / 1.207 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.049, allocations: 11.61 kB / 1.207 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007286/1.056, allocations: 1.581 MB / 1.209 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005282/1.062, allocations: 2.671 MB / 1.211 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/1.062, allocations: 189.6 kB / 1.212 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/1.062, allocations: 204 kB / 1.212 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006629/1.069, allocations: 3.311 MB / 1.215 GB, free: 15.6 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/1.069, allocations: 4 kB / 1.215 GB, free: 15.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/1.069, allocations: 87.55 kB / 1.215 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/1.069, allocations: 48 kB / 1.215 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007959/1.077, allocations: 3.948 MB / 1.219 GB, free: 11.52 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.01923/1.096, allocations: 10.4 MB / 1.229 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006768/1.103, allocations: 2.893 MB / 1.232 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/1.106, allocations: 1.372 MB / 1.233 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007467/1.107, allocations: 498.6 kB / 1.234 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003201/1.11, allocations: 1.614 MB / 1.235 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=166): time 3.828e-06/1.11, allocations: 0 / 1.235 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166): time 0.01131/1.121, allocations: 4.695 MB / 1.24 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.122, allocations: 205.2 kB / 1.24 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006289/1.128, allocations: 3.115 MB / 1.243 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004029/1.128, allocations: 61.7 kB / 1.243 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/1.13, allocations: 1.123 MB / 1.244 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007553/1.13, allocations: 0.5391 MB / 1.245 GB, free: 360 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/1.132, allocations: 427.2 kB / 1.245 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/1.132, allocations: 305.1 kB / 1.246 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/1.135, allocations: 1.366 MB / 1.247 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/1.138, allocations: 1.772 MB / 1.249 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/1.144, allocations: 2.983 MB / 1.252 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/1.144, allocations: 4 kB / 1.252 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008751/1.153, allocations: 3.703 MB / 1.255 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.153, allocations: 8 kB / 1.255 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/1.153, allocations: 12 kB / 1.255 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/1.155, allocations: 375.2 kB / 1.256 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/1.158, allocations: 0.5421 MB / 1.256 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/1.164, allocations: 5.706 MB / 1.262 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/1.168, allocations: 490.5 kB / 1.262 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005844/1.169, allocations: 99.92 kB / 1.262 GB, free: 13.81 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.002547/1.171, allocations: 1.101 MB / 1.263 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.172, allocations: 253.6 kB / 1.264 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008896/1.181, allocations: 3.54 MB / 1.267 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/1.181, allocations: 20 kB / 1.267 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.181, allocations: 0 / 1.267 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/1.181, allocations: 11.91 kB / 1.267 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/1.187, allocations: 2.941 MB / 1.27 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.187, allocations: 4 kB / 1.27 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/1.189, allocations: 431.3 kB / 1.27 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/1.191, allocations: 347 kB / 1.271 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/1.191, allocations: 59.94 kB / 1.271 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/1.196, allocations: 5.723 MB / 1.276 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.196, allocations: 0 / 1.276 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.208, allocations: 4.879 MB / 1.281 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/1.21, allocations: 0.7863 MB / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009286/1.211, allocations: 43.98 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.214, allocations: 307.5 kB / 1.282 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/1.214, allocations: 121.8 kB / 1.282 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.215, allocations: 75.94 kB / 1.282 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004577/1.219, allocations: 2.224 MB / 1.284 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/1.219, allocations: 0 / 1.284 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00317/1.222, allocations: 0.8615 MB / 1.285 GB, free: 5.5 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.001883/1.224, allocations: 0.7097 MB / 1.286 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007292/1.232, allocations: 3.404 MB / 1.289 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.232, allocations: 0 / 1.289 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/1.235, allocations: 1.823 MB / 1.291 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/1.239, allocations: 0.8279 MB / 1.292 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/1.252, allocations: 6.593 MB / 1.298 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/1.255, allocations: 2.341 MB / 1.301 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003655/1.258, allocations: 0.94 MB / 1.302 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.26, allocations: 223.3 kB / 1.302 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of SimCode: time 1.163e-06/1.26, allocations: 4 kB / 1.302 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.07856/1.338, allocations: 48.24 MB / 1.349 GB, free: 4.875 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 gbode -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