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.0013/0.001301, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 190.7 kB / 16.66 MB, free: 6.582 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.417/1.417, allocations: 222.9 MB / 240.3 MB, free: 4.332 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.641/2.641, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 1.018 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3576, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01177/0.3694, allocations: 9.895 MB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.9467/1.316, allocations: 154.7 MB / 1.327 GB, free: 4.008 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/1.319, allocations: 53.69 kB / 1.327 GB, free: 3.988 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004176/1.323, allocations: 1.15 MB / 1.328 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004859/1.328, allocations: 1.161 MB / 1.33 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004948/1.333, allocations: 1.708 MB / 1.331 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00789/1.341, allocations: 4.885 MB / 1.336 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003007/1.344, allocations: 1.798 MB / 1.338 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/1.348, allocations: 2.062 MB / 1.34 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/1.352, allocations: 1.726 MB / 1.342 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008568/1.352, allocations: 372 kB / 1.342 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/1.355, allocations: 1.159 MB / 1.343 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/1.357, allocations: 1.001 MB / 1.344 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003045/1.36, allocations: 1.783 MB / 1.346 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008011/1.368, allocations: 5.525 MB / 1.351 GB, free: 10.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.368, allocations: 0 / 1.351 GB, free: 10.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.987e-06/1.368, allocations: 1.344 kB / 1.351 GB, free: 10.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001759/1.368, allocations: 3.938 kB / 1.351 GB, free: 10.04 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.01245/1.38, allocations: 4.208 MB / 1.355 GB, free: 7.453 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.38, allocations: 9.281 kB / 1.355 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008078/1.388, allocations: 1.594 MB / 1.357 GB, free: 6.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007023/1.396, allocations: 2.692 MB / 1.359 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/1.396, allocations: 185.6 kB / 1.36 GB, free: 4.781 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004764/1.396, allocations: 211.5 kB / 1.36 GB, free: 4.711 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006906/1.403, allocations: 3.309 MB / 1.363 GB, free: 2.762 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/1.403, allocations: 11.88 kB / 1.363 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/1.403, allocations: 79.16 kB / 1.363 GB, free: 2.691 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/1.404, allocations: 48 kB / 1.363 GB, free: 2.691 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008134/1.412, allocations: 3.95 MB / 1.367 GB, free: 0.7148 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.01981/1.432, allocations: 10.4 MB / 1.377 GB, free: 9.074 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006693/1.438, allocations: 2.905 MB / 1.38 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/1.441, allocations: 1.382 MB / 1.381 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/1.442, allocations: 0.4907 MB / 1.382 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003123/1.445, allocations: 1.611 MB / 1.383 GB, free: 5.402 MB / 1.045 GB Notification: Performance of pre-optimization done (n=166): time 3.386e-06/1.445, allocations: 3.938 kB / 1.383 GB, free: 5.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=166): time 0.01144/1.456, allocations: 4.705 MB / 1.388 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.456, allocations: 201.2 kB / 1.388 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005095/1.462, allocations: 3.119 MB / 1.391 GB, free: 13.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004508/1.462, allocations: 61.7 kB / 1.391 GB, free: 13.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/1.463, allocations: 1.14 MB / 1.392 GB, free: 12.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007323/1.464, allocations: 0.5733 MB / 1.393 GB, free: 11.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007488/1.465, allocations: 423.3 kB / 1.393 GB, free: 11.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.465, allocations: 309 kB / 1.394 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/1.468, allocations: 1.366 MB / 1.395 GB, free: 9.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003218/1.471, allocations: 1.772 MB / 1.397 GB, free: 7.746 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00605/1.477, allocations: 2.979 MB / 1.4 GB, free: 4.629 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/1.477, allocations: 0 / 1.4 GB, free: 4.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008836/1.486, allocations: 3.712 MB / 1.403 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.486, allocations: 12.22 kB / 1.403 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.486, allocations: 12 kB / 1.403 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/1.488, allocations: 371.9 kB / 1.404 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1.49, allocations: 0.5499 MB / 1.404 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005168/1.495, allocations: 5.705 MB / 1.41 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/1.499, allocations: 487.7 kB / 1.41 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003399/1.5, allocations: 103.9 kB / 1.41 GB, free: 9.219 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.002171/1.502, allocations: 1.116 MB / 1.411 GB, free: 8.094 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008903/1.503, allocations: 258.2 kB / 1.412 GB, free: 7.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008086/1.511, allocations: 3.536 MB / 1.415 GB, free: 4.281 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.511, allocations: 20 kB / 1.415 GB, free: 4.262 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.511, allocations: 0 / 1.415 GB, free: 4.262 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.511, allocations: 11.91 kB / 1.415 GB, free: 4.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/1.515, allocations: 2.955 MB / 1.418 GB, free: 1.238 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.515, allocations: 0 / 1.418 GB, free: 1.238 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/1.517, allocations: 435.3 kB / 1.418 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/1.519, allocations: 347.1 kB / 1.419 GB, free: 472 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/1.519, allocations: 59.94 kB / 1.419 GB, free: 412 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00494/1.524, allocations: 5.713 MB / 1.424 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.524, allocations: 4.125 kB / 1.424 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.534, allocations: 4.896 MB / 1.429 GB, free: 5.305 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/1.537, allocations: 0.7955 MB / 1.43 GB, free: 4.488 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/1.537, allocations: 55.88 kB / 1.43 GB, free: 4.434 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.54, allocations: 303.5 kB / 1.43 GB, free: 4.137 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/1.54, allocations: 129.8 kB / 1.43 GB, free: 4.008 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.54, allocations: 67.95 kB / 1.431 GB, free: 3.941 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003415/1.544, allocations: 2.224 MB / 1.433 GB, free: 1.707 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.1e-07/1.544, allocations: 3.938 kB / 1.433 GB, free: 1.703 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002673/1.546, allocations: 0.8655 MB / 1.434 GB, free: 0.8359 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.001718/1.548, allocations: 0.7026 MB / 1.434 GB, free: 316 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007096/1.555, allocations: 3.396 MB / 1.438 GB, free: 12.88 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.555, allocations: 4.125 kB / 1.438 GB, free: 12.87 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003489/1.559, allocations: 1.823 MB / 1.439 GB, free: 11.01 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/1.562, allocations: 0.8319 MB / 1.44 GB, free: 10.2 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.574, allocations: 6.673 MB / 1.447 GB, free: 3.492 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/1.576, allocations: 2.353 MB / 1.449 GB, free: 1.105 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003144/1.579, allocations: 0.9322 MB / 1.45 GB, free: 172 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/1.58, allocations: 227.4 kB / 1.45 GB, free: 15.94 MB / 1.123 GB Notification: Performance of SimCode: time 6.51e-07/1.58, allocations: 0 / 1.45 GB, free: 15.94 MB / 1.123 GB Notification: Performance of Templates: time 0.07846/1.658, allocations: 48.77 MB / 1.498 GB, free: 15.59 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