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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005771/0.005771, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001069/0.001069, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.001931, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01018/1.086, allocations: 8.382 MB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.2121/1.298, allocations: 154.5 MB / 1.247 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003846/1.302, allocations: 44.09 kB / 1.247 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004497/1.307, allocations: 1.108 MB / 1.248 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005797/1.312, allocations: 1.022 MB / 1.249 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006044/1.319, allocations: 1.691 MB / 1.251 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006958/1.325, allocations: 4.635 MB / 1.255 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/1.328, allocations: 1.841 MB / 1.257 GB, free: 388 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/1.331, allocations: 2.022 MB / 1.259 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/1.334, allocations: 1.685 MB / 1.261 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006259/1.335, allocations: 375.9 kB / 1.261 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/1.337, allocations: 1.167 MB / 1.262 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009948/1.338, allocations: 0.9894 MB / 1.263 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002291/1.34, allocations: 1.734 MB / 1.265 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006991/1.347, allocations: 5.43 MB / 1.27 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.347, allocations: 0 / 1.27 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/1.347, allocations: 3.938 kB / 1.27 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001206/1.348, allocations: 4 kB / 1.27 GB, free: 2.938 MB / 0.9981 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.009174/1.357, allocations: 4.057 MB / 1.274 GB, free: 14.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.357, allocations: 12.03 kB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00755/1.364, allocations: 1.577 MB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00528/1.37, allocations: 2.675 MB / 1.278 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/1.37, allocations: 185.6 kB / 1.278 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004427/1.37, allocations: 208 kB / 1.279 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007366/1.378, allocations: 3.309 MB / 1.282 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/1.378, allocations: 0 / 1.282 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/1.378, allocations: 84 kB / 1.282 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/1.378, allocations: 48 kB / 1.282 GB, free: 6.586 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008711/1.387, allocations: 3.948 MB / 1.286 GB, free: 2.633 MB / 1.014 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.01871/1.406, allocations: 10.02 MB / 1.296 GB, free: 8.348 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006626/1.412, allocations: 2.904 MB / 1.299 GB, free: 5.438 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002898/1.415, allocations: 1.383 MB / 1.3 GB, free: 4.055 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/1.416, allocations: 490.7 kB / 1.3 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003203/1.419, allocations: 1.617 MB / 1.302 GB, free: 1.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=166): time 4.368e-06/1.419, allocations: 0 / 1.302 GB, free: 1.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=166): time 0.01132/1.431, allocations: 4.695 MB / 1.307 GB, free: 13.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.431, allocations: 205.2 kB / 1.307 GB, free: 12.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/1.436, allocations: 3.111 MB / 1.31 GB, free: 9.672 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003464/1.436, allocations: 65.7 kB / 1.31 GB, free: 9.602 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/1.437, allocations: 1.123 MB / 1.311 GB, free: 8.469 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006312/1.438, allocations: 0.5469 MB / 1.311 GB, free: 7.914 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006973/1.438, allocations: 419.2 kB / 1.312 GB, free: 7.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/1.438, allocations: 309.1 kB / 1.312 GB, free: 7.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/1.441, allocations: 1.366 MB / 1.313 GB, free: 5.828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003173/1.445, allocations: 1.764 MB / 1.315 GB, free: 3.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005767/1.45, allocations: 2.983 MB / 1.318 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/1.45, allocations: 0 / 1.318 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008458/1.459, allocations: 3.699 MB / 1.322 GB, free: 13.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/1.459, allocations: 8 kB / 1.322 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/1.459, allocations: 12 kB / 1.322 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/1.461, allocations: 371.2 kB / 1.322 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/1.463, allocations: 0.5421 MB / 1.323 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/1.468, allocations: 5.708 MB / 1.328 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.472, allocations: 489.7 kB / 1.329 GB, free: 5.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/1.472, allocations: 99.92 kB / 1.329 GB, free: 5.406 MB / 1.061 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.001977/1.474, allocations: 1.116 MB / 1.33 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006998/1.475, allocations: 252.8 kB / 1.33 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008096/1.483, allocations: 3.528 MB / 1.334 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/1.483, allocations: 16 kB / 1.334 GB, free: 472 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/1.483, allocations: 11.94 kB / 1.334 GB, free: 460 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/1.483, allocations: 7.969 kB / 1.334 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/1.489, allocations: 2.943 MB / 1.336 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.489, allocations: 0 / 1.336 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.491, allocations: 427.3 kB / 1.337 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/1.493, allocations: 355 kB / 1.337 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/1.493, allocations: 55.94 kB / 1.337 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005544/1.498, allocations: 5.721 MB / 1.343 GB, free: 6.438 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.498, allocations: 3.938 kB / 1.343 GB, free: 6.434 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/1.51, allocations: 4.887 MB / 1.348 GB, free: 1.512 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/1.512, allocations: 0.7747 MB / 1.348 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007708/1.512, allocations: 43.98 kB / 1.348 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.515, allocations: 307.5 kB / 1.349 GB, free: 380 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.515, allocations: 129.8 kB / 1.349 GB, free: 252 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.515, allocations: 67.95 kB / 1.349 GB, free: 184 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003314/1.519, allocations: 2.22 MB / 1.351 GB, free: 13.95 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.31e-07/1.519, allocations: 0 / 1.351 GB, free: 13.95 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002582/1.521, allocations: 0.8341 MB / 1.352 GB, free: 13.11 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.00171/1.523, allocations: 0.7119 MB / 1.353 GB, free: 12.57 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007404/1.53, allocations: 3.391 MB / 1.356 GB, free: 9.141 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.53, allocations: 0 / 1.356 GB, free: 9.141 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003723/1.534, allocations: 1.824 MB / 1.358 GB, free: 7.285 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003891/1.538, allocations: 0.8156 MB / 1.358 GB, free: 6.504 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/1.551, allocations: 6.715 MB / 1.365 GB, free: 15.76 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00196/1.553, allocations: 2.345 MB / 1.367 GB, free: 13.38 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003115/1.556, allocations: 0.9085 MB / 1.368 GB, free: 12.46 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009069/1.557, allocations: 227.3 kB / 1.368 GB, free: 12.24 MB / 1.107 GB Notification: Performance of SimCode: time 1.302e-06/1.557, allocations: 0 / 1.368 GB, free: 12.24 MB / 1.107 GB Notification: Performance of Templates: time 0.08121/1.638, allocations: 48.49 MB / 1.416 GB, free: 12.14 MB / 1.154 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 -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/jenkins/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