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.001772/0.001772, allocations: 113.3 kB / 16.37 MB, free: 6.004 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.00265/0.00265, allocations: 197.6 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 61.75 kB / 0.814 GB, free: 32.81 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2795, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01117/0.2907, allocations: 8.397 MB / 0.9593 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.7614/1.052, allocations: 154.5 MB / 1.11 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/1.054, allocations: 45.12 kB / 1.11 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00347/1.058, allocations: 1.1 MB / 1.111 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003413/1.061, allocations: 1.019 MB / 1.112 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004415/1.066, allocations: 1.688 MB / 1.114 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006928/1.073, allocations: 4.628 MB / 1.119 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/1.076, allocations: 1.841 MB / 1.12 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/1.08, allocations: 1.975 MB / 1.122 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/1.084, allocations: 1.687 MB / 1.124 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002234/1.086, allocations: 371.2 kB / 1.124 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/1.09, allocations: 1.164 MB / 1.125 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002374/1.093, allocations: 0.9955 MB / 1.126 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004177/1.097, allocations: 1.735 MB / 1.128 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009239/1.106, allocations: 5.424 MB / 1.133 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.106, allocations: 1.406 kB / 1.133 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.315e-06/1.106, allocations: 0 / 1.133 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001762/1.107, allocations: 0 / 1.133 GB, free: 17.24 MB / 0.8731 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.01324/1.12, allocations: 4.065 MB / 1.137 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.12, allocations: 9.5 kB / 1.137 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008181/1.128, allocations: 1.576 MB / 1.139 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00683/1.135, allocations: 2.666 MB / 1.141 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/1.135, allocations: 187.6 kB / 1.142 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008149/1.136, allocations: 213.5 kB / 1.142 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007413/1.143, allocations: 3.313 MB / 1.145 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/1.144, allocations: 1.938 kB / 1.145 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/1.144, allocations: 83.44 kB / 1.145 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/1.144, allocations: 48.47 kB / 1.145 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/1.156, allocations: 3.945 MB / 1.149 GB, free: 13.43 MB / 0.8731 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.02516/1.181, allocations: 10.01 MB / 1.159 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006943/1.188, allocations: 2.901 MB / 1.162 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/1.191, allocations: 1.379 MB / 1.163 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/1.191, allocations: 490.4 kB / 1.164 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003246/1.195, allocations: 1.628 MB / 1.165 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=166): time 3.457e-06/1.195, allocations: 0 / 1.165 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=166): time 0.01149/1.206, allocations: 4.687 MB / 1.17 GB, free: 36 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.206, allocations: 202.6 kB / 1.17 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005394/1.212, allocations: 3.119 MB / 1.173 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006893/1.212, allocations: 63.52 kB / 1.173 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/1.214, allocations: 1.12 MB / 1.174 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008826/1.214, allocations: 0.5498 MB / 1.175 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007842/1.215, allocations: 414.5 kB / 1.175 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/1.215, allocations: 315.5 kB / 1.175 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/1.218, allocations: 1.37 MB / 1.177 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/1.221, allocations: 1.759 MB / 1.178 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/1.227, allocations: 2.981 MB / 1.181 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.227, allocations: 5.281 kB / 1.181 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008404/1.236, allocations: 3.687 MB / 1.185 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/1.236, allocations: 14.09 kB / 1.185 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.236, allocations: 9.438 kB / 1.185 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/1.237, allocations: 375.8 kB / 1.185 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/1.24, allocations: 0.5481 MB / 1.186 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/1.246, allocations: 5.702 MB / 1.191 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004132/1.25, allocations: 485.3 kB / 1.192 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000444/1.25, allocations: 105.4 kB / 1.192 GB, free: 0.4922 MB / 0.8887 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.002279/1.253, allocations: 1.117 MB / 1.193 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000916/1.253, allocations: 250.6 kB / 1.193 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008279/1.262, allocations: 3.535 MB / 1.197 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/1.262, allocations: 20 kB / 1.197 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.262, allocations: 0 / 1.197 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/1.262, allocations: 11.91 kB / 1.197 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/1.266, allocations: 2.947 MB / 1.2 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.266, allocations: 0 / 1.2 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.269, allocations: 435.3 kB / 1.2 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/1.271, allocations: 345.3 kB / 1.2 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004329/1.271, allocations: 63.88 kB / 1.2 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005512/1.277, allocations: 5.713 MB / 1.206 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.277, allocations: 4.125 kB / 1.206 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.288, allocations: 4.879 MB / 1.211 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/1.291, allocations: 0.7902 MB / 1.212 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006768/1.291, allocations: 51.92 kB / 1.212 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.294, allocations: 302.1 kB / 1.212 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/1.294, allocations: 133.8 kB / 1.212 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.294, allocations: 67.95 kB / 1.212 GB, free: 13.13 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003648/1.298, allocations: 2.224 MB / 1.214 GB, free: 10.9 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.5e-07/1.298, allocations: 0 / 1.214 GB, free: 10.9 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003089/1.301, allocations: 0.8303 MB / 1.215 GB, free: 10.07 MB / 0.92 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.001809/1.303, allocations: 0.7081 MB / 1.216 GB, free: 9.555 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007355/1.31, allocations: 3.395 MB / 1.219 GB, free: 6.121 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.31, allocations: 4.062 kB / 1.219 GB, free: 6.117 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003839/1.314, allocations: 1.819 MB / 1.221 GB, free: 4.266 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.319, allocations: 0.798 MB / 1.222 GB, free: 3.492 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/1.333, allocations: 6.707 MB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/1.335, allocations: 2.357 MB / 1.23 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003265/1.338, allocations: 0.9124 MB / 1.231 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/1.339, allocations: 223.3 kB / 1.232 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of SimCode: time 1.502e-06/1.339, allocations: 0 / 1.232 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of Templates: time 0.08213/1.421, allocations: 47.21 MB / 1.278 GB, free: 10.47 MB / 0.9825 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 -s cvode -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