Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 107.8 kB / 17.08 MB, free: 5.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 191.6 kB / 20.03 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,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_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01246/1.065, allocations: 9.875 MB / 1.272 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2282/1.293, allocations: 154.7 MB / 1.423 GB, free: 13.49 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004074/1.297, allocations: 44.69 kB / 1.423 GB, free: 13.48 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00452/1.302, allocations: 1.155 MB / 1.424 GB, free: 12.67 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006481/1.308, allocations: 1.143 MB / 1.426 GB, free: 11.75 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006203/1.314, allocations: 1.708 MB / 1.427 GB, free: 10.45 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.009719/1.324, allocations: 4.882 MB / 1.432 GB, free: 7.609 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/1.328, allocations: 1.804 MB / 1.434 GB, free: 6.68 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/1.332, allocations: 2.006 MB / 1.436 GB, free: 5.598 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/1.336, allocations: 1.731 MB / 1.437 GB, free: 4.441 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001439/1.338, allocations: 371.2 kB / 1.438 GB, free: 4.441 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003853/1.342, allocations: 1.17 MB / 1.439 GB, free: 3.473 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001486/1.343, allocations: 0.9971 MB / 1.44 GB, free: 2.473 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003619/1.347, allocations: 1.781 MB / 1.442 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009055/1.356, allocations: 5.528 MB / 1.447 GB, free: 11.14 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.356, allocations: 0 / 1.447 GB, free: 11.14 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.114e-06/1.356, allocations: 0 / 1.447 GB, free: 11.14 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001632/1.356, allocations: 0 / 1.447 GB, free: 11.14 MB / 1.139 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.01028/1.366, allocations: 4.208 MB / 1.451 GB, free: 6.863 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.366, allocations: 12.03 kB / 1.451 GB, free: 6.852 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007985/1.374, allocations: 1.59 MB / 1.453 GB, free: 5.258 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005772/1.38, allocations: 2.689 MB / 1.455 GB, free: 2.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/1.38, allocations: 185.6 kB / 1.455 GB, free: 2.312 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/1.381, allocations: 208 kB / 1.456 GB, free: 2.109 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007215/1.388, allocations: 3.315 MB / 1.459 GB, free: 14.74 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/1.388, allocations: 4 kB / 1.459 GB, free: 14.73 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/1.388, allocations: 80 kB / 1.459 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/1.389, allocations: 48 kB / 1.459 GB, free: 14.61 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00938/1.398, allocations: 3.948 MB / 1.463 GB, free: 10.66 MB / 1.154 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.02142/1.419, allocations: 10.6 MB / 1.473 GB, free: 15.67 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007546/1.427, allocations: 2.903 MB / 1.476 GB, free: 12.76 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/1.43, allocations: 1.383 MB / 1.477 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/1.431, allocations: 486.9 kB / 1.478 GB, free: 10.81 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003564/1.435, allocations: 1.625 MB / 1.479 GB, free: 9.164 MB / 1.17 GB Notification: Performance of pre-optimization done (n=166): time 3.416e-06/1.435, allocations: 0 / 1.479 GB, free: 9.164 MB / 1.17 GB Notification: Performance of matching and sorting (n=166): time 0.0124/1.447, allocations: 4.7 MB / 1.484 GB, free: 4.371 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/1.447, allocations: 205.2 kB / 1.484 GB, free: 4.125 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/1.453, allocations: 3.115 MB / 1.487 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005542/1.453, allocations: 61.7 kB / 1.487 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/1.455, allocations: 1.14 MB / 1.488 GB, free: 15.76 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009719/1.456, allocations: 0.5694 MB / 1.489 GB, free: 15.19 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009365/1.457, allocations: 431.3 kB / 1.489 GB, free: 14.76 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002288/1.457, allocations: 301.1 kB / 1.49 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003404/1.46, allocations: 1.37 MB / 1.491 GB, free: 13.09 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/1.464, allocations: 1.764 MB / 1.493 GB, free: 11.18 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006925/1.471, allocations: 2.979 MB / 1.496 GB, free: 8.066 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/1.471, allocations: 7.938 kB / 1.496 GB, free: 8.059 MB / 1.186 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009659/1.481, allocations: 3.712 MB / 1.499 GB, free: 4.324 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/1.481, allocations: 13.91 kB / 1.499 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.481, allocations: 8 kB / 1.499 GB, free: 4.305 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/1.483, allocations: 379 kB / 1.5 GB, free: 3.922 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/1.486, allocations: 0.5498 MB / 1.5 GB, free: 3.371 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006515/1.492, allocations: 5.703 MB / 1.506 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/1.496, allocations: 490.2 kB / 1.506 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004973/1.496, allocations: 99.88 kB / 1.506 GB, free: 12.64 MB / 1.201 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.00239/1.499, allocations: 1.112 MB / 1.507 GB, free: 11.51 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009126/1.5, allocations: 258.3 kB / 1.508 GB, free: 11.26 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009156/1.509, allocations: 3.532 MB / 1.511 GB, free: 7.703 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/1.509, allocations: 19.94 kB / 1.511 GB, free: 7.684 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.509, allocations: 4 kB / 1.511 GB, free: 7.68 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.509, allocations: 7.969 kB / 1.511 GB, free: 7.672 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/1.514, allocations: 2.949 MB / 1.514 GB, free: 4.668 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.514, allocations: 8 kB / 1.514 GB, free: 4.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/1.516, allocations: 423.3 kB / 1.515 GB, free: 4.246 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/1.518, allocations: 347.1 kB / 1.515 GB, free: 3.895 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/1.518, allocations: 63.88 kB / 1.515 GB, free: 3.832 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006155/1.524, allocations: 5.726 MB / 1.52 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.524, allocations: 8 kB / 1.52 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.537, allocations: 4.896 MB / 1.525 GB, free: 8.723 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/1.539, allocations: 0.7916 MB / 1.526 GB, free: 7.91 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006486/1.54, allocations: 55.88 kB / 1.526 GB, free: 7.855 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/1.542, allocations: 305.8 kB / 1.526 GB, free: 7.559 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/1.543, allocations: 129.8 kB / 1.527 GB, free: 7.43 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/1.543, allocations: 67.94 kB / 1.527 GB, free: 7.363 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003983/1.547, allocations: 2.224 MB / 1.529 GB, free: 5.129 MB / 1.217 GB Notification: Performance of sort global known variables: time 5.41e-07/1.547, allocations: 0 / 1.529 GB, free: 5.129 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003268/1.55, allocations: 0.8733 MB / 1.53 GB, free: 4.254 MB / 1.217 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.002394/1.552, allocations: 0.6993 MB / 1.53 GB, free: 3.738 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008484/1.561, allocations: 3.396 MB / 1.534 GB, free: 312 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/1.561, allocations: 4 kB / 1.534 GB, free: 308 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004549/1.566, allocations: 1.815 MB / 1.535 GB, free: 14.44 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/1.571, allocations: 0.8361 MB / 1.536 GB, free: 13.63 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.586, allocations: 6.533 MB / 1.543 GB, free: 7.055 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/1.589, allocations: 2.234 MB / 1.545 GB, free: 4.789 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/1.59, allocations: 255.3 kB / 1.545 GB, free: 4.539 MB / 1.232 GB Notification: Performance of SimCode: time 1.062e-06/1.59, allocations: 0 / 1.545 GB, free: 4.539 MB / 1.232 GB Notification: Performance of Templates: time 0.1515/1.742, allocations: 113.4 MB / 1.656 GB, free: 3.148 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.749793485039845]