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.006624/0.006624, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001462/0.001462, allocations: 191.2 kB / 16.67 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.404/2.404, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.672, allocations: 151.6 MB / 1.166 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007901/0.6799, allocations: 7.304 MB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1463/0.8262, allocations: 155.5 MB / 1.325 GB, free: 440 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.8273, allocations: 23.88 kB / 1.325 GB, free: 416 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.8314, allocations: 1.813 MB / 1.327 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.8337, allocations: 0.8398 MB / 1.328 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.8359, allocations: 1.04 MB / 1.329 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003256/0.8392, allocations: 3.563 MB / 1.332 GB, free: 9.137 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.8403, allocations: 0.9211 MB / 1.333 GB, free: 8.168 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.8415, allocations: 1.161 MB / 1.334 GB, free: 7.004 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.8426, allocations: 1.055 MB / 1.335 GB, free: 5.945 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.8428, allocations: 195.9 kB / 1.336 GB, free: 5.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.8457, allocations: 2.243 MB / 1.338 GB, free: 3.508 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.8471, allocations: 2.051 MB / 1.34 GB, free: 1.453 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.8489, allocations: 2.15 MB / 1.342 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006284/0.8552, allocations: 7.85 MB / 1.349 GB, free: 7.422 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8552, allocations: 0 / 1.349 GB, free: 7.422 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8552, allocations: 0 / 1.349 GB, free: 7.422 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.571e-05/0.8553, allocations: 0 / 1.349 GB, free: 7.422 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.009633/0.8649, allocations: 6.235 MB / 1.356 GB, free: 1.102 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.865, allocations: 8.922 kB / 1.356 GB, free: 1.094 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/0.8652, allocations: 194.5 kB / 1.356 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.8666, allocations: 467.5 kB / 1.356 GB, free: 444 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7785/1.645, allocations: 321.1 MB / 1.67 GB, free: 282.7 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/1.645, allocations: 134.4 kB / 1.67 GB, free: 282.6 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/1.646, allocations: 176 kB / 1.67 GB, free: 282.4 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/1.648, allocations: 1.668 MB / 1.672 GB, free: 280.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/1.648, allocations: 6.391 kB / 1.672 GB, free: 280.6 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.648, allocations: 48 kB / 1.672 GB, free: 280.6 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/1.648, allocations: 28 kB / 1.672 GB, free: 280.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/1.65, allocations: 1.73 MB / 1.673 GB, free: 278.8 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03856/1.689, allocations: 76.96 MB / 1.749 GB, free: 201.7 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.691, allocations: 1.575 MB / 1.75 GB, free: 200.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009026/1.692, allocations: 1.042 MB / 1.751 GB, free: 199.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/1.692, allocations: 33.17 kB / 1.751 GB, free: 199 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/1.693, allocations: 0.9819 MB / 1.752 GB, free: 198 MB / 1.279 GB Notification: Performance of pre-optimization done (n=118): time 3.206e-06/1.693, allocations: 0 / 1.752 GB, free: 198 MB / 1.279 GB Notification: Performance of matching and sorting (n=118): time 0.004488/1.697, allocations: 3.003 MB / 1.755 GB, free: 195 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.697, allocations: 354.5 kB / 1.755 GB, free: 194.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8954/2.593, allocations: 379.7 MB / 2.126 GB, free: 0.516 GB / 1.436 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/2.593, allocations: 73.55 kB / 2.126 GB, free: 0.516 GB / 1.436 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/2.595, allocations: 1.609 MB / 2.128 GB, free: 0.5147 GB / 1.436 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/2.595, allocations: 380.9 kB / 2.128 GB, free: 0.5145 GB / 1.436 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/2.595, allocations: 0.516 MB / 2.129 GB, free: 0.5141 GB / 1.436 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/2.595, allocations: 310.3 kB / 2.129 GB, free: 0.5138 GB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/2.597, allocations: 1.44 MB / 2.13 GB, free: 0.5125 GB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/2.599, allocations: 2.168 MB / 2.133 GB, free: 0.5103 GB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/2.602, allocations: 3.541 MB / 2.136 GB, free: 0.5068 GB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/2.602, allocations: 7.75 kB / 2.136 GB, free: 0.5068 GB / 1.436 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00539/2.607, allocations: 4.256 MB / 2.14 GB, free: 0.5027 GB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/2.608, allocations: 189.7 kB / 2.14 GB, free: 0.5025 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/2.608, allocations: 22.12 kB / 2.14 GB, free: 0.5025 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/2.608, allocations: 32 kB / 2.14 GB, free: 0.5025 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/2.609, allocations: 475.2 kB / 2.141 GB, free: 0.502 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/2.609, allocations: 47.8 kB / 2.141 GB, free: 0.502 GB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/2.611, allocations: 0.5498 MB / 2.141 GB, free: 0.5014 GB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/2.611, allocations: 104 kB / 2.142 GB, free: 0.5013 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.001385/2.613, allocations: 1.666 MB / 2.143 GB, free: 0.4997 GB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007014/2.613, allocations: 355.3 kB / 2.143 GB, free: 0.4994 GB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/2.617, allocations: 3.034 MB / 2.146 GB, free: 0.4964 GB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/2.617, allocations: 12 kB / 2.146 GB, free: 0.4964 GB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/2.617, allocations: 4 kB / 2.146 GB, free: 0.4964 GB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/2.617, allocations: 3.984 kB / 2.146 GB, free: 0.4964 GB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/2.619, allocations: 2.824 MB / 2.149 GB, free: 0.4936 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/2.619, allocations: 0 / 2.149 GB, free: 0.4936 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/2.619, allocations: 155.8 kB / 2.149 GB, free: 0.4934 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/2.619, allocations: 4 kB / 2.149 GB, free: 0.4934 GB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/2.619, allocations: 39.92 kB / 2.149 GB, free: 0.4934 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/2.62, allocations: 7.984 kB / 2.149 GB, free: 0.4934 GB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/2.62, allocations: 0 / 2.149 GB, free: 0.4934 GB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/2.623, allocations: 2.817 MB / 2.152 GB, free: 0.4906 GB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/2.624, allocations: 1.233 MB / 2.153 GB, free: 0.4894 GB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/2.625, allocations: 35.86 kB / 2.153 GB, free: 0.4893 GB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/2.626, allocations: 306.5 kB / 2.154 GB, free: 0.489 GB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/2.626, allocations: 83.41 kB / 2.154 GB, free: 0.489 GB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.001e-05/2.627, allocations: 51.97 kB / 2.154 GB, free: 0.4889 GB / 1.436 GB Notification: Performance of sorting global known variables: time 0.1886/2.815, allocations: 305.3 MB / 2.452 GB, free: 195.2 MB / 1.436 GB Notification: Performance of sort global known variables: time 7.21e-07/2.815, allocations: 0 / 2.452 GB, free: 195.2 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.003428/2.819, allocations: 1.236 MB / 2.453 GB, free: 194.1 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.005515/2.824, allocations: 4.23 MB / 2.457 GB, free: 190.1 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.003827/2.828, allocations: 4.628 MB / 2.462 GB, free: 185.5 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.828, allocations: 0.9375 kB / 2.462 GB, free: 185.5 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/2.83, allocations: 2.247 MB / 2.464 GB, free: 183.2 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/2.832, allocations: 0.4893 MB / 2.465 GB, free: 182.8 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.505/5.337, allocations: 1.504 GB / 3.969 GB, free: 292.7 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/5.338, allocations: 2.362 MB / 3.971 GB, free: 290.3 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.002429/5.341, allocations: 1.242 MB / 3.972 GB, free: 289.2 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/5.343, allocations: 1.757 MB / 3.974 GB, free: 287.4 MB / 1.436 GB Notification: Performance of SimCode: time 5.31e-07/5.343, allocations: 0 / 3.974 GB, free: 287.4 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8476/6.191, allocations: 253.1 MB / 4.221 GB, free: 35.64 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/21.29, allocations: 17.73 kB / 4.221 GB, free: 35.62 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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.csv","/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