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.006051/0.006051, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001374/0.001374, allocations: 197.4 kB / 16.68 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9097, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009518/0.9192, allocations: 6.05 MB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2159/1.135, allocations: 155.4 MB / 1.246 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/1.137, allocations: 25.66 kB / 1.246 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00589/1.143, allocations: 1.786 MB / 1.247 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/1.147, allocations: 0.7619 MB / 1.248 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/1.15, allocations: 1.02 MB / 1.249 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004627/1.155, allocations: 3.373 MB / 1.252 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/1.156, allocations: 0.9477 MB / 1.253 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/1.158, allocations: 1.141 MB / 1.254 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/1.16, allocations: 1.027 MB / 1.255 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002728/1.16, allocations: 192 kB / 1.256 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/1.165, allocations: 2.239 MB / 1.258 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001649/1.166, allocations: 1.915 MB / 1.26 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/1.168, allocations: 1.135 MB / 1.261 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007347/1.175, allocations: 4.383 MB / 1.265 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.175, allocations: 3.984 kB / 1.265 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.175, allocations: 0 / 1.265 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.512e-05/1.175, allocations: 0 / 1.265 GB, free: 8.246 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.005633/1.181, allocations: 3.043 MB / 1.268 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.181, allocations: 8.031 kB / 1.268 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009214/1.182, allocations: 315.2 kB / 1.268 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/1.187, allocations: 4.585 MB / 1.273 GB, free: 188 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.187, allocations: 134.4 kB / 1.273 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/1.187, allocations: 192 kB / 1.273 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/1.19, allocations: 1.66 MB / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.19, allocations: 0 / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/1.19, allocations: 48 kB / 1.275 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/1.19, allocations: 32 kB / 1.275 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/1.193, allocations: 1.722 MB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/1.203, allocations: 7.019 MB / 1.283 GB, free: 5.234 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.205, allocations: 1.583 MB / 1.285 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/1.207, allocations: 1.031 MB / 1.286 GB, free: 2.605 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.274e-05/1.207, allocations: 41.17 kB / 1.286 GB, free: 2.566 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/1.208, allocations: 0.9772 MB / 1.287 GB, free: 1.578 MB / 1.014 GB Notification: Performance of pre-optimization done (n=118): time 3.436e-06/1.208, allocations: 3.938 kB / 1.287 GB, free: 1.574 MB / 1.014 GB Notification: Performance of matching and sorting (n=118): time 0.004509/1.213, allocations: 2.856 MB / 1.29 GB, free: 14.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002549/1.213, allocations: 344.2 kB / 1.29 GB, free: 14.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.223, allocations: 7.389 MB / 1.297 GB, free: 6.887 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004532/1.224, allocations: 69.7 kB / 1.297 GB, free: 6.812 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.225, allocations: 0.8052 MB / 1.298 GB, free: 6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005901/1.226, allocations: 408.5 kB / 1.298 GB, free: 5.598 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002389/1.228, allocations: 1.915 MB / 1.3 GB, free: 3.668 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.228, allocations: 301.1 kB / 1.301 GB, free: 3.371 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01327/1.241, allocations: 12.99 MB / 1.313 GB, free: 6.371 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01395/1.255, allocations: 13.7 MB / 1.327 GB, free: 8.496 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01834/1.274, allocations: 17.1 MB / 1.343 GB, free: 7.121 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-05/1.274, allocations: 4 kB / 1.343 GB, free: 7.117 MB / 1.076 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0357/1.31, allocations: 31.28 MB / 1.374 GB, free: 7.648 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002765/1.31, allocations: 181.6 kB / 1.374 GB, free: 7.465 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.673e-05/1.31, allocations: 12 kB / 1.374 GB, free: 7.453 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.815e-05/1.31, allocations: 24 kB / 1.374 GB, free: 7.43 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.312, allocations: 475.2 kB / 1.375 GB, free: 6.965 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-05/1.312, allocations: 27.94 kB / 1.375 GB, free: 6.938 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/1.314, allocations: 289.8 kB / 1.375 GB, free: 6.652 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/1.315, allocations: 116 kB / 1.375 GB, free: 6.539 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.001483/1.316, allocations: 1.223 MB / 1.376 GB, free: 5.297 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/1.317, allocations: 190.7 kB / 1.376 GB, free: 5.109 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/1.32, allocations: 2.749 MB / 1.379 GB, free: 2.34 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.32, allocations: 16 kB / 1.379 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.32, allocations: 0 / 1.379 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.32, allocations: 3.984 kB / 1.379 GB, free: 2.32 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/1.322, allocations: 1.484 MB / 1.381 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/1.322, allocations: 0 / 1.381 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/1.323, allocations: 163.8 kB / 1.381 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/1.323, allocations: 4 kB / 1.381 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/1.323, allocations: 39.97 kB / 1.381 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.158e-06/1.323, allocations: 4 kB / 1.381 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.323, allocations: 3.938 kB / 1.381 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/1.326, allocations: 2.649 MB / 1.383 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006844/1.327, allocations: 443.3 kB / 1.384 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/1.327, allocations: 24 kB / 1.384 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/1.328, allocations: 89.73 kB / 1.384 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/1.328, allocations: 76.89 kB / 1.384 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.078e-05/1.328, allocations: 51.97 kB / 1.384 GB, free: 13.2 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004466/1.333, allocations: 4.644 MB / 1.389 GB, free: 8.531 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.333, allocations: 0 / 1.389 GB, free: 8.531 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003939/1.337, allocations: 1.209 MB / 1.39 GB, free: 7.32 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.002909/1.34, allocations: 0.9563 MB / 1.391 GB, free: 6.535 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01826/1.358, allocations: 18.98 MB / 1.409 GB, free: 3.543 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/1.358, allocations: 0 / 1.409 GB, free: 3.543 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002388/1.36, allocations: 2.247 MB / 1.411 GB, free: 1.289 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.362, allocations: 361.2 kB / 1.412 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.373, allocations: 8.581 MB / 1.42 GB, free: 8.336 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/1.375, allocations: 2.351 MB / 1.422 GB, free: 5.957 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001404/1.376, allocations: 440.5 kB / 1.423 GB, free: 5.52 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/1.377, allocations: 167.3 kB / 1.423 GB, free: 5.355 MB / 1.154 GB Notification: Performance of SimCode: time 1.092e-06/1.377, allocations: 0 / 1.423 GB, free: 5.355 MB / 1.154 GB Notification: Performance of Templates: time 0.0847/1.461, allocations: 35.78 MB / 1.458 GB, free: 1.715 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