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.002138/0.002138, allocations: 106.1 kB / 16.41 MB, free: 6.418 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.0022/0.0022, allocations: 187 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.339/2.339, allocations: 222.9 MB / 241 MB, free: 15.08 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 4.523/4.523, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 64.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642/1.645, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01867/1.664, allocations: 9.888 MB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.2856/1.95, allocations: 154.7 MB / 1.328 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0055/1.955, allocations: 51.69 kB / 1.328 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006122/1.962, allocations: 1.146 MB / 1.329 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007534/1.969, allocations: 1.158 MB / 1.33 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007805/1.977, allocations: 1.714 MB / 1.332 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0111/1.988, allocations: 4.868 MB / 1.337 GB, free: 5.656 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005319/1.993, allocations: 1.798 MB / 1.338 GB, free: 3.812 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007043/2.001, allocations: 2.061 MB / 1.341 GB, free: 1.746 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006146/2.007, allocations: 1.728 MB / 1.342 GB, free: 12 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002138/2.009, allocations: 372 kB / 1.343 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006554/2.015, allocations: 1.159 MB / 1.344 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003257/2.019, allocations: 1.001 MB / 1.345 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.008686/2.028, allocations: 1.781 MB / 1.346 GB, free: 11.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0183/2.046, allocations: 5.532 MB / 1.352 GB, free: 6.145 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/2.046, allocations: 0 / 1.352 GB, free: 6.145 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.907e-06/2.046, allocations: 0 / 1.352 GB, free: 6.145 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002239/2.046, allocations: 7.938 kB / 1.352 GB, free: 6.137 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.02166/2.068, allocations: 4.205 MB / 1.356 GB, free: 1.867 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 8.942e-05/2.068, allocations: 12.92 kB / 1.356 GB, free: 1.855 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009939/2.078, allocations: 1.594 MB / 1.357 GB, free: 264 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00777/2.086, allocations: 2.693 MB / 1.36 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/2.086, allocations: 189.4 kB / 1.36 GB, free: 13.3 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007857/2.087, allocations: 208 kB / 1.36 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00863/2.096, allocations: 3.315 MB / 1.364 GB, free: 9.73 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/2.096, allocations: 3.938 kB / 1.364 GB, free: 9.727 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/2.096, allocations: 76 kB / 1.364 GB, free: 9.652 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/2.096, allocations: 48 kB / 1.364 GB, free: 9.605 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009749/2.106, allocations: 3.952 MB / 1.368 GB, free: 5.648 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.02298/2.129, allocations: 10.42 MB / 1.378 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007367/2.136, allocations: 2.897 MB / 1.381 GB, free: 7.973 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/2.139, allocations: 1.385 MB / 1.382 GB, free: 6.586 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007933/2.14, allocations: 0.4909 MB / 1.383 GB, free: 6 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003515/2.144, allocations: 1.602 MB / 1.384 GB, free: 4.379 MB / 1.107 GB Notification: Performance of pre-optimization done (n=166): time 4.028e-06/2.144, allocations: 0 / 1.384 GB, free: 4.379 MB / 1.107 GB Notification: Performance of matching and sorting (n=166): time 0.01523/2.159, allocations: 4.704 MB / 1.389 GB, free: 15.58 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002336/2.159, allocations: 201.2 kB / 1.389 GB, free: 15.34 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/2.17, allocations: 3.123 MB / 1.392 GB, free: 12.2 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0009335/2.171, allocations: 69.64 kB / 1.392 GB, free: 12.12 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/2.174, allocations: 1.136 MB / 1.393 GB, free: 10.97 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/2.176, allocations: 0.5733 MB / 1.394 GB, free: 10.39 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/2.177, allocations: 423.3 kB / 1.394 GB, free: 9.973 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0004422/2.177, allocations: 301.1 kB / 1.394 GB, free: 9.676 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/2.182, allocations: 1.37 MB / 1.396 GB, free: 8.305 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004865/2.187, allocations: 1.768 MB / 1.397 GB, free: 6.395 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009299/2.196, allocations: 2.983 MB / 1.4 GB, free: 3.273 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-05/2.197, allocations: 4 kB / 1.4 GB, free: 3.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01575/2.212, allocations: 3.716 MB / 1.404 GB, free: 15.53 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/2.212, allocations: 8 kB / 1.404 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/2.213, allocations: 12 kB / 1.404 GB, free: 15.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/2.216, allocations: 367.2 kB / 1.404 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/2.221, allocations: 0.5498 MB / 1.405 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/2.231, allocations: 5.709 MB / 1.41 GB, free: 8.438 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006932/2.238, allocations: 496.7 kB / 1.411 GB, free: 7.953 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/2.239, allocations: 95.92 kB / 1.411 GB, free: 7.859 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.005089/2.244, allocations: 1.117 MB / 1.412 GB, free: 6.734 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/2.247, allocations: 262.3 kB / 1.412 GB, free: 6.477 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/2.264, allocations: 3.536 MB / 1.416 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/2.265, allocations: 16 kB / 1.416 GB, free: 2.902 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/2.265, allocations: 3.938 kB / 1.416 GB, free: 2.898 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.568e-05/2.265, allocations: 7.969 kB / 1.416 GB, free: 2.891 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/2.275, allocations: 2.955 MB / 1.419 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.837e-05/2.275, allocations: 4 kB / 1.419 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004629/2.28, allocations: 431.3 kB / 1.419 GB, free: 15.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003292/2.283, allocations: 347.1 kB / 1.419 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008705/2.284, allocations: 63.94 kB / 1.42 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/2.295, allocations: 5.715 MB / 1.425 GB, free: 8.871 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/2.295, allocations: 3.938 kB / 1.425 GB, free: 8.867 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02369/2.319, allocations: 4.9 MB / 1.43 GB, free: 3.938 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003864/2.323, allocations: 0.7878 MB / 1.431 GB, free: 3.129 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/2.324, allocations: 55.88 kB / 1.431 GB, free: 3.074 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005361/2.33, allocations: 303.5 kB / 1.431 GB, free: 2.777 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/2.331, allocations: 125.8 kB / 1.431 GB, free: 2.652 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005494/2.331, allocations: 71.94 kB / 1.431 GB, free: 2.582 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.008197/2.34, allocations: 2.22 MB / 1.433 GB, free: 360 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.113e-06/2.34, allocations: 0 / 1.433 GB, free: 360 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.00692/2.346, allocations: 0.8772 MB / 1.434 GB, free: 15.47 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.003755/2.35, allocations: 0.6875 MB / 1.435 GB, free: 14.94 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0145/2.365, allocations: 3.4 MB / 1.438 GB, free: 11.5 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/2.365, allocations: 0 / 1.438 GB, free: 11.5 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.006915/2.372, allocations: 1.819 MB / 1.44 GB, free: 9.645 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007488/2.379, allocations: 0.8474 MB / 1.441 GB, free: 8.824 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/2.403, allocations: 6.533 MB / 1.447 GB, free: 2.25 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004089/2.407, allocations: 2.234 MB / 1.449 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/2.41, allocations: 255.3 kB / 1.45 GB, free: 15.73 MB / 1.186 GB Notification: Performance of SimCode: time 2.705e-06/2.41, allocations: 0 / 1.45 GB, free: 15.73 MB / 1.186 GB Notification: Performance of Templates: time 1.46/3.87, allocations: 113.4 MB / 1.56 GB, free: 377.2 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