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.001467/0.001467, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001496/0.001496, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 72.11 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9186/0.92, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01271/0.9328, allocations: 9.896 MB / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1756/1.108, allocations: 154.7 MB / 1.328 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/1.111, allocations: 55.69 kB / 1.328 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003694/1.115, allocations: 1.146 MB / 1.329 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0041/1.119, allocations: 1.158 MB / 1.33 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004755/1.123, allocations: 1.709 MB / 1.332 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007486/1.131, allocations: 4.88 MB / 1.337 GB, free: 5.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004947/1.136, allocations: 1.791 MB / 1.338 GB, free: 3.844 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005382/1.141, allocations: 2.069 MB / 1.341 GB, free: 1.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004422/1.146, allocations: 1.72 MB / 1.342 GB, free: 44 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001882/1.148, allocations: 368 kB / 1.343 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/1.151, allocations: 1.167 MB / 1.344 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001822/1.153, allocations: 0.9971 MB / 1.345 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003515/1.156, allocations: 1.792 MB / 1.346 GB, free: 11.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008791/1.165, allocations: 5.512 MB / 1.352 GB, free: 6.188 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.165, allocations: 0 / 1.352 GB, free: 6.188 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.344e-06/1.165, allocations: 0 / 1.352 GB, free: 6.188 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001966/1.166, allocations: 0 / 1.352 GB, free: 6.188 MB / 1.076 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.01205/1.178, allocations: 4.099 MB / 1.356 GB, free: 2.027 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.178, allocations: 12.92 kB / 1.356 GB, free: 2.016 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008172/1.186, allocations: 1.569 MB / 1.357 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006705/1.193, allocations: 2.671 MB / 1.36 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/1.193, allocations: 197.3 kB / 1.36 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008611/1.194, allocations: 208 kB / 1.36 GB, free: 13.3 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008678/1.202, allocations: 3.307 MB / 1.364 GB, free: 9.934 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.793e-05/1.203, allocations: 4 kB / 1.364 GB, free: 9.93 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005458/1.203, allocations: 80 kB / 1.364 GB, free: 9.852 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/1.203, allocations: 48 kB / 1.364 GB, free: 9.805 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009058/1.212, allocations: 3.956 MB / 1.368 GB, free: 5.844 MB / 1.092 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.02222/1.234, allocations: 10.4 MB / 1.378 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007892/1.242, allocations: 2.901 MB / 1.381 GB, free: 8.184 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/1.246, allocations: 1.385 MB / 1.382 GB, free: 6.797 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007727/1.246, allocations: 491.1 kB / 1.382 GB, free: 6.223 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003488/1.25, allocations: 1.625 MB / 1.384 GB, free: 4.578 MB / 1.107 GB Notification: Performance of pre-optimization done (n=166): time 4.959e-06/1.25, allocations: 0 / 1.384 GB, free: 4.578 MB / 1.107 GB Notification: Performance of matching and sorting (n=166): time 0.01196/1.262, allocations: 4.687 MB / 1.389 GB, free: 15.8 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.262, allocations: 201.2 kB / 1.389 GB, free: 15.55 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006546/1.269, allocations: 3.122 MB / 1.392 GB, free: 12.41 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004668/1.269, allocations: 61.7 kB / 1.392 GB, free: 12.34 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/1.271, allocations: 1.123 MB / 1.393 GB, free: 11.21 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009123/1.271, allocations: 0.543 MB / 1.393 GB, free: 10.66 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/1.273, allocations: 427.2 kB / 1.394 GB, free: 10.23 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.273, allocations: 301.1 kB / 1.394 GB, free: 9.934 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/1.276, allocations: 1.37 MB / 1.395 GB, free: 8.562 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/1.28, allocations: 1.764 MB / 1.397 GB, free: 6.656 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006221/1.286, allocations: 2.983 MB / 1.4 GB, free: 3.535 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/1.286, allocations: 0 / 1.4 GB, free: 3.535 MB / 1.123 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00909/1.295, allocations: 3.695 MB / 1.404 GB, free: 15.81 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/1.295, allocations: 8 kB / 1.404 GB, free: 15.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.295, allocations: 12 kB / 1.404 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/1.297, allocations: 375.2 kB / 1.404 GB, free: 15.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.3, allocations: 0.546 MB / 1.405 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/1.305, allocations: 5.704 MB / 1.41 GB, free: 8.723 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/1.309, allocations: 485.7 kB / 1.411 GB, free: 8.246 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/1.309, allocations: 95.94 kB / 1.411 GB, free: 8.152 MB / 1.139 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.002383/1.311, allocations: 1.129 MB / 1.412 GB, free: 7.016 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.313, allocations: 248.9 kB / 1.412 GB, free: 6.77 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009074/1.322, allocations: 3.524 MB / 1.416 GB, free: 3.223 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/1.322, allocations: 24 kB / 1.416 GB, free: 3.199 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.322, allocations: 3.938 kB / 1.416 GB, free: 3.195 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/1.322, allocations: 7.969 kB / 1.416 GB, free: 3.188 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/1.327, allocations: 2.955 MB / 1.418 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/1.327, allocations: 0 / 1.418 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/1.329, allocations: 431.3 kB / 1.419 GB, free: 15.75 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/1.331, allocations: 343.2 kB / 1.419 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/1.331, allocations: 59.94 kB / 1.419 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/1.336, allocations: 5.719 MB / 1.425 GB, free: 9.176 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.336, allocations: 3.938 kB / 1.425 GB, free: 9.172 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/1.347, allocations: 4.887 MB / 1.43 GB, free: 4.254 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/1.349, allocations: 0.7825 MB / 1.43 GB, free: 3.449 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008156/1.35, allocations: 51.88 kB / 1.43 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/1.353, allocations: 306 kB / 1.431 GB, free: 3.102 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.353, allocations: 133.8 kB / 1.431 GB, free: 2.969 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.353, allocations: 67.95 kB / 1.431 GB, free: 2.902 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004537/1.358, allocations: 2.22 MB / 1.433 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/1.358, allocations: 0 / 1.433 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003105/1.361, allocations: 0.8615 MB / 1.434 GB, free: 15.8 MB / 1.17 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.001857/1.363, allocations: 0.7015 MB / 1.435 GB, free: 15.27 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007321/1.37, allocations: 3.395 MB / 1.438 GB, free: 11.84 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.37, allocations: 1.875 kB / 1.438 GB, free: 11.84 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003794/1.374, allocations: 1.823 MB / 1.44 GB, free: 9.973 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.378, allocations: 0.8415 MB / 1.441 GB, free: 9.152 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.392, allocations: 6.433 MB / 1.447 GB, free: 2.688 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003055/1.395, allocations: 2.249 MB / 1.449 GB, free: 416 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.397, allocations: 247.3 kB / 1.449 GB, free: 168 kB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/1.397, allocations: 0 / 1.449 GB, free: 168 kB / 1.17 GB Notification: Performance of Templates: time 0.7954/2.192, allocations: 113.4 MB / 1.56 GB, free: 377.1 MB / 1.279 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/jenkins1/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