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.006001/0.006001, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001133/0.001133, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.699/2.699, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.89 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3441, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01093/0.3551, allocations: 9.878 MB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.9827/1.338, allocations: 154.7 MB / 1.327 GB, free: 4.051 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/1.341, allocations: 44.84 kB / 1.327 GB, free: 4.035 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004066/1.345, allocations: 1.148 MB / 1.328 GB, free: 3.602 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004546/1.35, allocations: 1.139 MB / 1.33 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005433/1.355, allocations: 1.704 MB / 1.331 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008582/1.364, allocations: 4.891 MB / 1.336 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003557/1.367, allocations: 1.799 MB / 1.338 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/1.372, allocations: 2.013 MB / 1.34 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/1.376, allocations: 1.723 MB / 1.341 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001683/1.378, allocations: 372.1 kB / 1.342 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004446/1.382, allocations: 1.163 MB / 1.343 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002211/1.385, allocations: 0.9958 MB / 1.344 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004377/1.389, allocations: 1.781 MB / 1.346 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008562/1.398, allocations: 5.529 MB / 1.351 GB, free: 10.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.398, allocations: 4 kB / 1.351 GB, free: 10.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/1.398, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001688/1.398, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.029 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.01171/1.41, allocations: 4.211 MB / 1.355 GB, free: 7.535 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.41, allocations: 9.188 kB / 1.355 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008734/1.418, allocations: 1.6 MB / 1.357 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008482/1.427, allocations: 2.682 MB / 1.359 GB, free: 4.969 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/1.427, allocations: 190.9 kB / 1.36 GB, free: 4.863 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/1.428, allocations: 213.2 kB / 1.36 GB, free: 4.789 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007328/1.435, allocations: 3.306 MB / 1.363 GB, free: 2.844 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/1.435, allocations: 7.125 kB / 1.363 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/1.435, allocations: 84.67 kB / 1.363 GB, free: 2.777 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/1.435, allocations: 46.22 kB / 1.363 GB, free: 2.777 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00893/1.444, allocations: 3.946 MB / 1.367 GB, free: 0.8047 MB / 1.029 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.02842/1.473, allocations: 10.4 MB / 1.377 GB, free: 9.156 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008251/1.481, allocations: 2.905 MB / 1.38 GB, free: 7.676 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/1.485, allocations: 1.378 MB / 1.381 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/1.485, allocations: 0.4955 MB / 1.382 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004003/1.489, allocations: 1.61 MB / 1.383 GB, free: 5.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=166): time 6.552e-06/1.489, allocations: 4 kB / 1.383 GB, free: 5.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=166): time 0.01318/1.503, allocations: 4.702 MB / 1.388 GB, free: 1.062 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/1.503, allocations: 201.2 kB / 1.388 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007204/1.51, allocations: 3.115 MB / 1.391 GB, free: 13.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0006579/1.511, allocations: 61.7 kB / 1.391 GB, free: 13.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1.512, allocations: 1.144 MB / 1.392 GB, free: 12.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.513, allocations: 0.5694 MB / 1.393 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/1.515, allocations: 423.3 kB / 1.393 GB, free: 11.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.515, allocations: 320.9 kB / 1.394 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003413/1.519, allocations: 1.362 MB / 1.395 GB, free: 9.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/1.522, allocations: 1.772 MB / 1.397 GB, free: 7.871 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006611/1.529, allocations: 2.979 MB / 1.4 GB, free: 4.754 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/1.529, allocations: 8 kB / 1.4 GB, free: 4.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009735/1.539, allocations: 3.712 MB / 1.403 GB, free: 1.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/1.539, allocations: 12 kB / 1.403 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.539, allocations: 8 kB / 1.403 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/1.541, allocations: 367.3 kB / 1.404 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/1.544, allocations: 0.5459 MB / 1.404 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005539/1.549, allocations: 5.707 MB / 1.41 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/1.553, allocations: 498.2 kB / 1.41 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006349/1.554, allocations: 91.94 kB / 1.41 GB, free: 9.344 MB / 1.076 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.00304/1.557, allocations: 1.116 MB / 1.411 GB, free: 8.219 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.559, allocations: 262.2 kB / 1.412 GB, free: 7.961 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009752/1.568, allocations: 3.529 MB / 1.415 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/1.568, allocations: 16 kB / 1.415 GB, free: 4.395 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.568, allocations: 4 kB / 1.415 GB, free: 4.391 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/1.568, allocations: 15.91 kB / 1.415 GB, free: 4.375 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005932/1.574, allocations: 2.951 MB / 1.418 GB, free: 1.367 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/1.574, allocations: 0 / 1.418 GB, free: 1.367 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.577, allocations: 427.3 kB / 1.418 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/1.578, allocations: 351.1 kB / 1.419 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/1.578, allocations: 59.94 kB / 1.419 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005143/1.584, allocations: 5.724 MB / 1.424 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.584, allocations: 64 / 1.424 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/1.595, allocations: 4.904 MB / 1.429 GB, free: 5.426 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.597, allocations: 0.7916 MB / 1.43 GB, free: 4.613 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.598, allocations: 55.88 kB / 1.43 GB, free: 4.559 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00296/1.601, allocations: 304.9 kB / 1.43 GB, free: 4.262 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/1.602, allocations: 129.8 kB / 1.43 GB, free: 4.133 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/1.602, allocations: 67.94 kB / 1.43 GB, free: 4.066 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004897/1.607, allocations: 2.224 MB / 1.433 GB, free: 1.832 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.51e-07/1.607, allocations: 0 / 1.433 GB, free: 1.832 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004013/1.611, allocations: 0.8732 MB / 1.433 GB, free: 0.957 MB / 1.092 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.002267/1.613, allocations: 0.6968 MB / 1.434 GB, free: 448 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008769/1.622, allocations: 3.403 MB / 1.437 GB, free: 13 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.622, allocations: 0 / 1.437 GB, free: 13 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003994/1.626, allocations: 1.82 MB / 1.439 GB, free: 11.14 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005663/1.631, allocations: 0.838 MB / 1.44 GB, free: 10.33 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.646, allocations: 6.684 MB / 1.447 GB, free: 3.609 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003394/1.649, allocations: 2.349 MB / 1.449 GB, free: 1.227 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003982/1.653, allocations: 0.9282 MB / 1.45 GB, free: 300 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.655, allocations: 227.3 kB / 1.45 GB, free: 72 kB / 1.107 GB Notification: Performance of SimCode: time 1.022e-06/1.655, allocations: 0 / 1.45 GB, free: 72 kB / 1.107 GB Notification: Performance of Templates: time 0.092/1.747, allocations: 48.78 MB / 1.498 GB, free: 15.71 MB / 1.17 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/jenkins/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