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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001384/0.001384, allocations: 102.9 kB / 16.35 MB, free: 5.879 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.001306/0.001306, allocations: 195.9 kB / 17.3 MB, free: 5.52 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.409/1.409, 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 9.1.2-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 63.61 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008607/0.3409, allocations: 6.058 MB / 0.957 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7842/1.125, allocations: 155.3 MB / 1.109 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/1.127, allocations: 25.78 kB / 1.109 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006043/1.133, allocations: 1.772 MB / 1.11 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/1.136, allocations: 0.7511 MB / 1.111 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/1.139, allocations: 1.014 MB / 1.112 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004813/1.144, allocations: 3.363 MB / 1.116 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/1.145, allocations: 0.9576 MB / 1.116 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/1.148, allocations: 1.132 MB / 1.118 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/1.15, allocations: 1.015 MB / 1.119 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004067/1.15, allocations: 195.4 kB / 1.119 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/1.156, allocations: 2.255 MB / 1.121 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002458/1.159, allocations: 1.913 MB / 1.123 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/1.16, allocations: 1.137 MB / 1.124 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/1.171, allocations: 4.368 MB / 1.128 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/1.171, allocations: 1.875 kB / 1.128 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.507e-06/1.171, allocations: 0 / 1.128 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000225/1.171, allocations: 4 kB / 1.128 GB, free: 2.734 MB / 0.8575 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.01121/1.182, allocations: 2.96 MB / 1.131 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.182, allocations: 9.688 kB / 1.131 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/1.184, allocations: 301.5 kB / 1.131 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/1.193, allocations: 4.583 MB / 1.136 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/1.193, allocations: 134.6 kB / 1.136 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/1.194, allocations: 179.5 kB / 1.136 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/1.197, allocations: 1.668 MB / 1.138 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/1.197, allocations: 2.062 kB / 1.138 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.197, allocations: 53.7 kB / 1.138 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/1.197, allocations: 29.75 kB / 1.138 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/1.2, allocations: 1.726 MB / 1.14 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/1.212, allocations: 6.976 MB / 1.146 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/1.214, allocations: 1.58 MB / 1.148 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/1.215, allocations: 1.041 MB / 1.149 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.774e-05/1.215, allocations: 40.41 kB / 1.149 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/1.217, allocations: 0.9846 MB / 1.15 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=118): time 3.226e-06/1.217, allocations: 0 / 1.15 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=118): time 0.004542/1.221, allocations: 2.831 MB / 1.153 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002245/1.221, allocations: 350.7 kB / 1.153 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.232, allocations: 7.383 MB / 1.16 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0006811/1.232, allocations: 70.42 kB / 1.16 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009794/1.233, allocations: 0.7978 MB / 1.161 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/1.234, allocations: 388 kB / 1.161 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/1.236, allocations: 1.886 MB / 1.163 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/1.236, allocations: 301.1 kB / 1.164 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01176/1.248, allocations: 12.99 MB / 1.176 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01384/1.261, allocations: 13.7 MB / 1.19 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01707/1.279, allocations: 17.1 MB / 1.206 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.357e-05/1.279, allocations: 5.688 kB / 1.206 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03174/1.31, allocations: 31.26 MB / 1.237 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002912/1.311, allocations: 181.6 kB / 1.237 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/1.311, allocations: 14 kB / 1.237 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.875e-05/1.311, allocations: 24 kB / 1.237 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.313, allocations: 475.8 kB / 1.238 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.543e-05/1.313, allocations: 31.94 kB / 1.238 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.315, allocations: 286.5 kB / 1.238 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/1.315, allocations: 104 kB / 1.238 GB, free: 1.695 MB / 0.9356 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.001701/1.317, allocations: 1.238 MB / 1.239 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/1.318, allocations: 181.6 kB / 1.239 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/1.322, allocations: 2.742 MB / 1.242 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.322, allocations: 12 kB / 1.242 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.322, allocations: 0 / 1.242 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.322, allocations: 7.969 kB / 1.242 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/1.324, allocations: 1.474 MB / 1.243 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.324, allocations: 64 / 1.243 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/1.325, allocations: 171.8 kB / 1.244 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.325, allocations: 11.88 kB / 1.244 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/1.325, allocations: 35.97 kB / 1.244 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/1.325, allocations: 4 kB / 1.244 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.325, allocations: 0 / 1.244 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/1.328, allocations: 2.644 MB / 1.246 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007966/1.329, allocations: 430.2 kB / 1.247 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/1.329, allocations: 28 kB / 1.247 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/1.33, allocations: 71.92 kB / 1.247 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.33, allocations: 76.89 kB / 1.247 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.982e-05/1.33, allocations: 51.97 kB / 1.247 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004627/1.335, allocations: 4.652 MB / 1.251 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6.01e-07/1.335, allocations: 0 / 1.251 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004969/1.34, allocations: 1.197 MB / 1.253 GB, free: 2.547 MB / 0.9512 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.002954/1.343, allocations: 0.9631 MB / 1.254 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01862/1.361, allocations: 18.98 MB / 1.272 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.362, allocations: 0 / 1.272 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/1.364, allocations: 2.247 MB / 1.274 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.366, allocations: 349.5 kB / 1.275 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.378, allocations: 8.458 MB / 1.283 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/1.38, allocations: 2.351 MB / 1.285 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001519/1.382, allocations: 448.5 kB / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/1.382, allocations: 155.4 kB / 1.286 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of SimCode: time 1.212e-06/1.382, allocations: 0 / 1.286 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of Templates: time 0.0847/1.467, allocations: 35.58 MB / 1.32 GB, free: 13.42 MB / 1.029 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 -s cvode -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/jenkins1/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