Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008416/0.008417, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002025/0.002025, allocations: 196.9 kB / 16.67 MB, free: 5.93 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.588/2.588, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 71.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.01168/1.063, allocations: 7.312 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.2002/1.263, allocations: 155.5 MB / 1.325 GB, free: 352 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/1.266, allocations: 23.88 kB / 1.325 GB, free: 328 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006406/1.272, allocations: 1.821 MB / 1.327 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003814/1.276, allocations: 0.858 MB / 1.328 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/1.279, allocations: 1.033 MB / 1.329 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007244/1.287, allocations: 3.579 MB / 1.332 GB, free: 9.016 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/1.29, allocations: 0.9134 MB / 1.333 GB, free: 8.055 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/1.293, allocations: 1.173 MB / 1.334 GB, free: 6.879 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002874/1.296, allocations: 1.059 MB / 1.335 GB, free: 5.816 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001121/1.297, allocations: 196 kB / 1.336 GB, free: 5.625 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005093/1.302, allocations: 2.231 MB / 1.338 GB, free: 3.391 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0023/1.304, allocations: 2.051 MB / 1.34 GB, free: 1.336 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004111/1.309, allocations: 2.157 MB / 1.342 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/1.322, allocations: 7.846 MB / 1.35 GB, free: 7.301 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/1.322, allocations: 4 kB / 1.35 GB, free: 7.297 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.567e-06/1.322, allocations: 0 / 1.35 GB, free: 7.297 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000271/1.322, allocations: 0 / 1.35 GB, free: 7.297 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.01926/1.341, allocations: 6.227 MB / 1.356 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/1.341, allocations: 12.92 kB / 1.356 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000636/1.342, allocations: 194.5 kB / 1.356 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/1.345, allocations: 471.5 kB / 1.356 GB, free: 316 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.062/2.408, allocations: 321.1 MB / 1.67 GB, free: 283 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/2.408, allocations: 141.6 kB / 1.67 GB, free: 282.9 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/2.408, allocations: 180 kB / 1.67 GB, free: 282.7 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/2.41, allocations: 1.656 MB / 1.672 GB, free: 281 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/2.41, allocations: 3.938 kB / 1.672 GB, free: 281 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/2.41, allocations: 55.98 kB / 1.672 GB, free: 280.9 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/2.41, allocations: 32 kB / 1.672 GB, free: 280.9 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/2.412, allocations: 1.726 MB / 1.674 GB, free: 279.2 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04114/2.453, allocations: 76.96 MB / 1.749 GB, free: 202 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/2.455, allocations: 1.575 MB / 1.75 GB, free: 200.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000853/2.456, allocations: 1.034 MB / 1.751 GB, free: 199.4 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 7.689e-05/2.456, allocations: 33.17 kB / 1.751 GB, free: 199.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/2.457, allocations: 0.9848 MB / 1.752 GB, free: 198.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=118): time 3.015e-06/2.457, allocations: 4 kB / 1.752 GB, free: 198.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=118): time 0.005214/2.463, allocations: 3.007 MB / 1.755 GB, free: 195.3 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/2.463, allocations: 346.5 kB / 1.755 GB, free: 194.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.237/3.699, allocations: 379.7 MB / 2.126 GB, free: 0.5172 GB / 1.436 GB Notification: Performance of collectPreVariables (initialization): time 0.0006933/3.7, allocations: 74.73 kB / 2.126 GB, free: 0.5171 GB / 1.436 GB Notification: Performance of collectInitialEqns (initialization): time 0.002549/3.703, allocations: 1.606 MB / 2.128 GB, free: 0.5159 GB / 1.436 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006436/3.703, allocations: 384.4 kB / 2.128 GB, free: 0.5157 GB / 1.436 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006912/3.704, allocations: 0.5154 MB / 2.129 GB, free: 0.5153 GB / 1.436 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/3.704, allocations: 304.9 kB / 2.129 GB, free: 0.515 GB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/3.706, allocations: 1.438 MB / 2.13 GB, free: 0.5137 GB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/3.708, allocations: 2.176 MB / 2.133 GB, free: 0.5115 GB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/3.711, allocations: 3.536 MB / 2.136 GB, free: 0.508 GB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/3.711, allocations: 4 kB / 2.136 GB, free: 0.508 GB / 1.436 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007799/3.719, allocations: 4.259 MB / 2.14 GB, free: 0.504 GB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/3.72, allocations: 189.6 kB / 2.14 GB, free: 0.5038 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.783e-05/3.72, allocations: 24 kB / 2.14 GB, free: 0.5037 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.666e-05/3.72, allocations: 35.94 kB / 2.14 GB, free: 0.5037 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/3.721, allocations: 467.2 kB / 2.141 GB, free: 0.5033 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-05/3.721, allocations: 51.84 kB / 2.141 GB, free: 0.5032 GB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/3.726, allocations: 0.5481 MB / 2.141 GB, free: 0.5027 GB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005503/3.727, allocations: 112 kB / 2.142 GB, free: 0.5026 GB / 1.436 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 18 (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 (265): * Single equations (assignments): 264 * Array equations: 0 * 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.004221/3.731, allocations: 1.66 MB / 2.143 GB, free: 0.5009 GB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003783/3.735, allocations: 351.3 kB / 2.144 GB, free: 0.5006 GB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005755/3.74, allocations: 3.035 MB / 2.146 GB, free: 0.4976 GB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/3.74, allocations: 12 kB / 2.146 GB, free: 0.4976 GB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/3.74, allocations: 7.984 kB / 2.146 GB, free: 0.4976 GB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/3.74, allocations: 3.984 kB / 2.147 GB, free: 0.4976 GB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006632/3.747, allocations: 2.822 MB / 2.149 GB, free: 0.4948 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/3.747, allocations: 0 / 2.149 GB, free: 0.4948 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/3.748, allocations: 159.8 kB / 2.149 GB, free: 0.4947 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/3.748, allocations: 4 kB / 2.149 GB, free: 0.4946 GB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/3.748, allocations: 35.92 kB / 2.149 GB, free: 0.4946 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/3.748, allocations: 4 kB / 2.149 GB, free: 0.4946 GB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/3.748, allocations: 0 / 2.149 GB, free: 0.4946 GB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/3.753, allocations: 2.824 MB / 2.152 GB, free: 0.4918 GB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/3.756, allocations: 1.233 MB / 2.153 GB, free: 0.4906 GB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/3.758, allocations: 33.16 kB / 2.153 GB, free: 0.4906 GB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/3.76, allocations: 299.9 kB / 2.154 GB, free: 0.4903 GB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/3.761, allocations: 83.41 kB / 2.154 GB, free: 0.4902 GB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/3.761, allocations: 51.97 kB / 2.154 GB, free: 0.4901 GB / 1.436 GB Notification: Performance of sorting global known variables: time 0.2021/3.963, allocations: 305.3 MB / 2.452 GB, free: 196.5 MB / 1.436 GB Notification: Performance of sort global known variables: time 1.423e-06/3.963, allocations: 0 / 2.452 GB, free: 196.5 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.004286/3.967, allocations: 1.243 MB / 2.453 GB, free: 195.3 MB / 1.436 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.00791/3.975, allocations: 4.23 MB / 2.457 GB, free: 191.4 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.004648/3.98, allocations: 4.617 MB / 2.462 GB, free: 186.7 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/3.98, allocations: 0.9375 kB / 2.462 GB, free: 186.7 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/3.982, allocations: 2.254 MB / 2.464 GB, free: 184.5 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/3.985, allocations: 0.4893 MB / 2.465 GB, free: 184 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.147/7.132, allocations: 1.504 GB / 3.969 GB, free: 297.1 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/7.134, allocations: 2.359 MB / 3.971 GB, free: 294.7 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.003169/7.138, allocations: 1.245 MB / 3.972 GB, free: 293.6 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003097/7.141, allocations: 1.764 MB / 3.974 GB, free: 291.8 MB / 1.436 GB Notification: Performance of SimCode: time 1.343e-06/7.141, allocations: 0 / 3.974 GB, free: 291.8 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7724/7.913, allocations: 253.1 MB / 4.221 GB, free: 40.04 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/23.96, allocations: 15.5 kB / 4.221 GB, free: 40.03 MB / 1.436 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches