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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=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_latest_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_latest_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.001343/0.001343, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001434/0.001434, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 469.4 MB / 0.7428 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9955/0.997, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01187/1.009, allocations: 9.854 MB / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1871/1.196, allocations: 154.7 MB / 1.382 GB, free: 13.14 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/1.199, allocations: 47.75 kB / 1.382 GB, free: 13.09 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004128/1.203, allocations: 1.154 MB / 1.383 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00448/1.208, allocations: 1.164 MB / 1.384 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004829/1.212, allocations: 1.71 MB / 1.386 GB, free: 9.062 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00671/1.219, allocations: 4.882 MB / 1.39 GB, free: 4.168 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003088/1.222, allocations: 1.798 MB / 1.392 GB, free: 2.32 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/1.226, allocations: 2.065 MB / 1.394 GB, free: 256 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/1.229, allocations: 1.724 MB / 1.396 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/1.23, allocations: 372 kB / 1.396 GB, free: 14.16 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003195/1.233, allocations: 1.159 MB / 1.397 GB, free: 13 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001675/1.235, allocations: 0.9971 MB / 1.398 GB, free: 12 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003637/1.239, allocations: 1.781 MB / 1.4 GB, free: 10.21 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007481/1.246, allocations: 5.519 MB / 1.405 GB, free: 4.672 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.246, allocations: 0 / 1.405 GB, free: 4.672 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.064e-06/1.246, allocations: 0 / 1.405 GB, free: 4.672 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001217/1.246, allocations: 0 / 1.405 GB, free: 4.672 MB / 1.123 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.009295/1.256, allocations: 4.095 MB / 1.409 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.256, allocations: 8.625 kB / 1.409 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007937/1.264, allocations: 1.581 MB / 1.411 GB, free: 14.92 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005681/1.269, allocations: 2.671 MB / 1.414 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/1.27, allocations: 185.6 kB / 1.414 GB, free: 11.99 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/1.27, allocations: 208 kB / 1.414 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007383/1.278, allocations: 3.311 MB / 1.417 GB, free: 8.418 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/1.278, allocations: 0 / 1.417 GB, free: 8.418 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/1.278, allocations: 87.98 kB / 1.417 GB, free: 8.332 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/1.278, allocations: 48 kB / 1.417 GB, free: 8.285 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008766/1.287, allocations: 3.948 MB / 1.421 GB, free: 4.332 MB / 1.139 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.02138/1.308, allocations: 10.39 MB / 1.431 GB, free: 9.59 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/1.316, allocations: 2.907 MB / 1.434 GB, free: 6.68 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003419/1.319, allocations: 1.379 MB / 1.435 GB, free: 5.301 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008661/1.32, allocations: 494.7 kB / 1.436 GB, free: 4.723 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003918/1.324, allocations: 1.615 MB / 1.437 GB, free: 3.09 MB / 1.154 GB Notification: Performance of pre-optimization done (n=166): time 5.811e-06/1.324, allocations: 0 / 1.437 GB, free: 3.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=166): time 0.01203/1.336, allocations: 4.691 MB / 1.442 GB, free: 14.3 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.336, allocations: 201.2 kB / 1.442 GB, free: 14.06 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005862/1.342, allocations: 3.122 MB / 1.445 GB, free: 10.91 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003414/1.342, allocations: 65.64 kB / 1.445 GB, free: 10.84 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/1.344, allocations: 1.123 MB / 1.446 GB, free: 9.707 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007375/1.344, allocations: 0.5391 MB / 1.447 GB, free: 9.16 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009959/1.345, allocations: 431.2 kB / 1.447 GB, free: 8.73 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/1.345, allocations: 301.1 kB / 1.448 GB, free: 8.434 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.349, allocations: 1.362 MB / 1.449 GB, free: 7.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/1.352, allocations: 1.772 MB / 1.451 GB, free: 5.156 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006303/1.358, allocations: 2.983 MB / 1.454 GB, free: 2.035 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/1.358, allocations: 7.938 kB / 1.454 GB, free: 2.027 MB / 1.17 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009138/1.368, allocations: 3.699 MB / 1.457 GB, free: 14.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/1.368, allocations: 8 kB / 1.457 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/1.368, allocations: 8 kB / 1.457 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/1.369, allocations: 375.2 kB / 1.458 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/1.372, allocations: 0.5421 MB / 1.458 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/1.378, allocations: 5.707 MB / 1.464 GB, free: 7.211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/1.382, allocations: 485.6 kB / 1.464 GB, free: 6.734 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/1.382, allocations: 99.92 kB / 1.464 GB, free: 6.637 MB / 1.186 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.002709/1.385, allocations: 1.113 MB / 1.465 GB, free: 5.516 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.386, allocations: 245 kB / 1.466 GB, free: 5.273 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009282/1.395, allocations: 3.54 MB / 1.469 GB, free: 1.711 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.395, allocations: 20 kB / 1.469 GB, free: 1.691 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.395, allocations: 7.938 kB / 1.469 GB, free: 1.684 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/1.395, allocations: 7.969 kB / 1.469 GB, free: 1.676 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/1.4, allocations: 2.949 MB / 1.472 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.4, allocations: 0 / 1.472 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.403, allocations: 427.3 kB / 1.472 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/1.404, allocations: 351 kB / 1.473 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/1.404, allocations: 55.94 kB / 1.473 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/1.41, allocations: 5.721 MB / 1.478 GB, free: 7.672 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.41, allocations: 3.938 kB / 1.478 GB, free: 7.668 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.421, allocations: 4.879 MB / 1.483 GB, free: 2.758 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.423, allocations: 0.7862 MB / 1.484 GB, free: 1.949 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/1.424, allocations: 47.98 kB / 1.484 GB, free: 1.902 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/1.427, allocations: 314.3 kB / 1.484 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003575/1.428, allocations: 121.8 kB / 1.484 GB, free: 1.477 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.428, allocations: 71.94 kB / 1.484 GB, free: 1.406 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004397/1.432, allocations: 2.224 MB / 1.487 GB, free: 15.17 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.81e-07/1.432, allocations: 3.938 kB / 1.487 GB, free: 15.16 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003028/1.435, allocations: 0.8653 MB / 1.487 GB, free: 14.3 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.001872/1.437, allocations: 0.6996 MB / 1.488 GB, free: 13.78 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007449/1.445, allocations: 3.396 MB / 1.491 GB, free: 10.35 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.445, allocations: 4 kB / 1.491 GB, free: 10.34 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/1.448, allocations: 1.815 MB / 1.493 GB, free: 8.488 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005133/1.453, allocations: 0.8351 MB / 1.494 GB, free: 7.676 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.467, allocations: 6.452 MB / 1.5 GB, free: 1.184 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/1.47, allocations: 2.234 MB / 1.503 GB, free: 14.92 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/1.471, allocations: 255.3 kB / 1.503 GB, free: 14.67 MB / 1.232 GB Notification: Performance of SimCode: time 1.332e-06/1.471, allocations: 0 / 1.503 GB, free: 14.67 MB / 1.232 GB Notification: Performance of Templates: time 0.8566/2.328, allocations: 113.4 MB / 1.614 GB, free: 301.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches