Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00751/0.00751, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001598/0.001598, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.229/2.229, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.88 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.9195, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007645/0.9272, allocations: 6.052 MB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2132/1.14, allocations: 155.4 MB / 1.246 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/1.143, allocations: 28.59 kB / 1.246 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005606/1.148, allocations: 1.777 MB / 1.247 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/1.153, allocations: 0.7576 MB / 1.248 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003721/1.156, allocations: 1.025 MB / 1.249 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00409/1.16, allocations: 3.369 MB / 1.252 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/1.162, allocations: 0.9593 MB / 1.253 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/1.164, allocations: 1.134 MB / 1.254 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/1.165, allocations: 1.031 MB / 1.255 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000462/1.166, allocations: 192 kB / 1.256 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005121/1.171, allocations: 2.243 MB / 1.258 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001862/1.173, allocations: 1.907 MB / 1.26 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001616/1.174, allocations: 1.139 MB / 1.261 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006912/1.181, allocations: 4.363 MB / 1.265 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.181, allocations: 3.938 kB / 1.265 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.181, allocations: 0 / 1.265 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.709e-05/1.181, allocations: 0 / 1.265 GB, free: 8.305 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005571/1.187, allocations: 2.966 MB / 1.268 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/1.187, allocations: 8.031 kB / 1.268 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.188, allocations: 297.8 kB / 1.268 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005376/1.193, allocations: 4.584 MB / 1.273 GB, free: 348 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/1.193, allocations: 130.4 kB / 1.273 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/1.194, allocations: 184 kB / 1.273 GB, free: 32 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/1.197, allocations: 1.66 MB / 1.275 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/1.197, allocations: 0 / 1.275 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/1.197, allocations: 52 kB / 1.275 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/1.197, allocations: 32 kB / 1.275 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/1.199, allocations: 1.722 MB / 1.276 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009925/1.209, allocations: 6.994 MB / 1.283 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/1.212, allocations: 1.583 MB / 1.285 GB, free: 3.832 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/1.213, allocations: 1.031 MB / 1.286 GB, free: 2.793 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.218e-05/1.213, allocations: 37.17 kB / 1.286 GB, free: 2.758 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/1.214, allocations: 0.9888 MB / 1.287 GB, free: 1.758 MB / 1.014 GB Notification: Performance of pre-optimization done (n=118): time 3.175e-06/1.214, allocations: 7.938 kB / 1.287 GB, free: 1.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=118): time 0.004227/1.218, allocations: 2.836 MB / 1.29 GB, free: 14.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/1.219, allocations: 348.2 kB / 1.29 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.229, allocations: 7.38 MB / 1.297 GB, free: 7.086 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004662/1.229, allocations: 69.7 kB / 1.297 GB, free: 7.012 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000743/1.23, allocations: 0.7921 MB / 1.298 GB, free: 6.211 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/1.231, allocations: 394.4 kB / 1.298 GB, free: 5.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/1.232, allocations: 1.884 MB / 1.3 GB, free: 3.918 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/1.232, allocations: 301.1 kB / 1.3 GB, free: 3.621 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01181/1.244, allocations: 12.99 MB / 1.313 GB, free: 6.629 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01627/1.26, allocations: 13.7 MB / 1.326 GB, free: 8.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0201/1.281, allocations: 17.1 MB / 1.343 GB, free: 7.375 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-05/1.281, allocations: 4 kB / 1.343 GB, free: 7.371 MB / 1.076 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0365/1.317, allocations: 31.27 MB / 1.374 GB, free: 7.91 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/1.317, allocations: 177.6 kB / 1.374 GB, free: 7.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/1.318, allocations: 15.98 kB / 1.374 GB, free: 7.715 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/1.318, allocations: 24 kB / 1.374 GB, free: 7.691 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/1.32, allocations: 471.7 kB / 1.374 GB, free: 7.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.052e-05/1.32, allocations: 39.8 kB / 1.374 GB, free: 7.191 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.322, allocations: 285 kB / 1.375 GB, free: 6.91 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/1.322, allocations: 108 kB / 1.375 GB, free: 6.805 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 20 (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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (290): * Single equations (assignments): 276 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001847/1.324, allocations: 1.231 MB / 1.376 GB, free: 5.555 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/1.324, allocations: 177.6 kB / 1.376 GB, free: 5.379 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/1.328, allocations: 2.745 MB / 1.379 GB, free: 2.613 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.329, allocations: 12 kB / 1.379 GB, free: 2.602 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.329, allocations: 0 / 1.379 GB, free: 2.602 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.329, allocations: 3.984 kB / 1.379 GB, free: 2.598 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/1.331, allocations: 1.488 MB / 1.38 GB, free: 1.051 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.331, allocations: 0 / 1.38 GB, free: 1.051 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/1.331, allocations: 163.7 kB / 1.38 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.331, allocations: 4 kB / 1.38 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-05/1.331, allocations: 39.97 kB / 1.381 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.331, allocations: 8 kB / 1.381 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.331, allocations: 3.938 kB / 1.381 GB, free: 0.8359 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/1.335, allocations: 2.632 MB / 1.383 GB, free: 14.17 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/1.336, allocations: 434.3 kB / 1.383 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/1.336, allocations: 31.89 kB / 1.384 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/1.337, allocations: 73.81 kB / 1.384 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.337, allocations: 80.89 kB / 1.384 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/1.337, allocations: 51.97 kB / 1.384 GB, free: 13.5 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004607/1.342, allocations: 4.648 MB / 1.388 GB, free: 8.824 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.474e-06/1.342, allocations: 0 / 1.388 GB, free: 8.824 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003476/1.345, allocations: 1.194 MB / 1.389 GB, free: 7.629 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00259/1.348, allocations: 0.9429 MB / 1.39 GB, free: 6.855 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02012/1.368, allocations: 18.98 MB / 1.409 GB, free: 3.859 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.368, allocations: 0 / 1.409 GB, free: 3.859 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/1.371, allocations: 2.247 MB / 1.411 GB, free: 1.605 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.373, allocations: 359.7 kB / 1.411 GB, free: 1.273 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/1.385, allocations: 8.453 MB / 1.42 GB, free: 8.789 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002404/1.388, allocations: 2.347 MB / 1.422 GB, free: 6.414 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00154/1.389, allocations: 444.5 kB / 1.422 GB, free: 5.973 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/1.39, allocations: 159.4 kB / 1.423 GB, free: 5.816 MB / 1.154 GB Notification: Performance of SimCode: time 1.333e-06/1.39, allocations: 0 / 1.423 GB, free: 5.816 MB / 1.154 GB Notification: Performance of Templates: time 0.09343/1.483, allocations: 35.79 MB / 1.457 GB, free: 2.164 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches