Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_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.009279/0.009279, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001902/0.001902, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 59.91 kB / 1.054 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009355/1.02, allocations: 7.277 MB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1768/1.197, allocations: 155.5 MB / 1.366 GB, free: 10.14 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/1.199, allocations: 23.88 kB / 1.366 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004973/1.204, allocations: 1.821 MB / 1.368 GB, free: 8.293 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002976/1.207, allocations: 0.8383 MB / 1.369 GB, free: 7.453 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/1.21, allocations: 1.043 MB / 1.37 GB, free: 6.418 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004381/1.214, allocations: 3.563 MB / 1.373 GB, free: 2.848 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/1.216, allocations: 0.925 MB / 1.374 GB, free: 1.875 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/1.218, allocations: 1.165 MB / 1.375 GB, free: 0.707 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/1.22, allocations: 1.055 MB / 1.376 GB, free: 15.65 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006397/1.221, allocations: 196 kB / 1.377 GB, free: 15.46 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004643/1.225, allocations: 2.243 MB / 1.379 GB, free: 13.21 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002106/1.227, allocations: 2.054 MB / 1.381 GB, free: 11.15 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003534/1.231, allocations: 2.15 MB / 1.383 GB, free: 8.992 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/1.242, allocations: 7.85 MB / 1.391 GB, free: 1.121 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.242, allocations: 0 / 1.391 GB, free: 1.121 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.064e-06/1.242, allocations: 0 / 1.391 GB, free: 1.121 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001923/1.242, allocations: 0 / 1.391 GB, free: 1.121 MB / 1.107 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.0161/1.258, allocations: 6.227 MB / 1.397 GB, free: 10.81 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.258, allocations: 12.03 kB / 1.397 GB, free: 10.8 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004242/1.259, allocations: 194.5 kB / 1.397 GB, free: 10.6 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/1.261, allocations: 471.5 kB / 1.397 GB, free: 10.13 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.115/2.376, allocations: 321.1 MB / 1.711 GB, free: 212.6 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/2.376, allocations: 130.4 kB / 1.711 GB, free: 212.5 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005255/2.377, allocations: 180 kB / 1.711 GB, free: 212.3 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/2.38, allocations: 1.664 MB / 1.713 GB, free: 210.6 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/2.38, allocations: 0 / 1.713 GB, free: 210.6 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/2.38, allocations: 56 kB / 1.713 GB, free: 210.5 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/2.38, allocations: 28 kB / 1.713 GB, free: 210.5 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/2.383, allocations: 1.73 MB / 1.715 GB, free: 208.8 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04755/2.43, allocations: 76.95 MB / 1.79 GB, free: 131.6 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/2.433, allocations: 1.575 MB / 1.791 GB, free: 130 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/2.434, allocations: 1.035 MB / 1.792 GB, free: 129 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 9.068e-05/2.434, allocations: 34.59 kB / 1.792 GB, free: 128.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/2.435, allocations: 0.989 MB / 1.793 GB, free: 127.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=118): time 3.807e-06/2.435, allocations: 0 / 1.793 GB, free: 127.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=118): time 0.005681/2.441, allocations: 3.003 MB / 1.796 GB, free: 124.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/2.441, allocations: 350.5 kB / 1.797 GB, free: 124.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.214/3.655, allocations: 379.7 MB / 2.167 GB, free: 0.5104 GB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.0006086/3.656, allocations: 69.7 kB / 2.167 GB, free: 0.5103 GB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.002186/3.658, allocations: 1.608 MB / 2.169 GB, free: 0.509 GB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/3.659, allocations: 377.2 kB / 2.169 GB, free: 0.5088 GB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006862/3.659, allocations: 0.5128 MB / 2.17 GB, free: 0.5084 GB / 1.482 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/3.659, allocations: 304.9 kB / 2.17 GB, free: 0.5081 GB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/3.661, allocations: 1.445 MB / 2.171 GB, free: 0.5068 GB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/3.663, allocations: 2.168 MB / 2.174 GB, free: 0.5046 GB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/3.666, allocations: 3.542 MB / 2.177 GB, free: 0.501 GB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/3.666, allocations: 8 kB / 2.177 GB, free: 0.501 GB / 1.482 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005954/3.672, allocations: 4.262 MB / 2.181 GB, free: 0.4968 GB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/3.672, allocations: 185.3 kB / 2.181 GB, free: 0.4967 GB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/3.672, allocations: 24 kB / 2.181 GB, free: 0.4966 GB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-05/3.673, allocations: 32 kB / 2.181 GB, free: 0.4966 GB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/3.674, allocations: 471.2 kB / 2.182 GB, free: 0.4961 GB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/3.674, allocations: 48.31 kB / 2.182 GB, free: 0.4961 GB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/3.677, allocations: 0.5589 MB / 2.183 GB, free: 0.4956 GB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/3.677, allocations: 108 kB / 2.183 GB, free: 0.4955 GB / 1.482 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.001932/3.679, allocations: 1.661 MB / 2.184 GB, free: 0.4938 GB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/3.68, allocations: 347.3 kB / 2.185 GB, free: 0.4935 GB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/3.684, allocations: 3.043 MB / 2.188 GB, free: 0.4905 GB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/3.684, allocations: 12 kB / 2.188 GB, free: 0.4905 GB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/3.684, allocations: 0 / 2.188 GB, free: 0.4905 GB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/3.684, allocations: 7.969 kB / 2.188 GB, free: 0.4905 GB / 1.482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/3.688, allocations: 2.814 MB / 2.19 GB, free: 499.4 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/3.688, allocations: 4 kB / 2.19 GB, free: 499.4 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/3.689, allocations: 159.7 kB / 2.19 GB, free: 499.2 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/3.689, allocations: 8 kB / 2.19 GB, free: 499.2 MB / 1.482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/3.689, allocations: 39.91 kB / 2.191 GB, free: 499.2 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/3.689, allocations: 4 kB / 2.191 GB, free: 499.2 MB / 1.482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/3.689, allocations: 0 / 2.191 GB, free: 499.2 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004358/3.693, allocations: 2.817 MB / 2.193 GB, free: 496.3 MB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/3.696, allocations: 1.241 MB / 2.194 GB, free: 495.1 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/3.698, allocations: 31.94 kB / 2.195 GB, free: 495.1 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/3.7, allocations: 295.9 kB / 2.195 GB, free: 494.8 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/3.7, allocations: 84.89 kB / 2.195 GB, free: 494.7 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/3.7, allocations: 43.97 kB / 2.195 GB, free: 494.6 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.1972/3.897, allocations: 305.3 MB / 2.493 GB, free: 189.2 MB / 1.482 GB Notification: Performance of sort global known variables: time 9.82e-07/3.897, allocations: 6.844 kB / 2.493 GB, free: 189.2 MB / 1.482 GB Notification: Performance of remove unused functions: time 0.004591/3.902, allocations: 1.243 MB / 2.494 GB, free: 188.1 MB / 1.482 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.007456/3.909, allocations: 4.225 MB / 2.498 GB, free: 184.1 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.004699/3.914, allocations: 4.624 MB / 2.503 GB, free: 179.5 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/3.914, allocations: 0 / 2.503 GB, free: 179.5 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/3.916, allocations: 2.239 MB / 2.505 GB, free: 177.2 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/3.919, allocations: 498.2 kB / 2.506 GB, free: 176.7 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.018/6.938, allocations: 1.504 GB / 4.01 GB, free: 381.7 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/6.939, allocations: 2.36 MB / 4.012 GB, free: 379.3 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.002683/6.942, allocations: 1.244 MB / 4.013 GB, free: 378.2 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/6.945, allocations: 1.764 MB / 4.015 GB, free: 376.4 MB / 1.498 GB Notification: Performance of SimCode: time 1.503e-06/6.945, allocations: 0 / 4.015 GB, free: 376.4 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8311/7.776, allocations: 254.7 MB / 4.264 GB, free: 123.2 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/25.28, allocations: 12.31 kB / 4.264 GB, free: 123.1 MB / 1.498 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches