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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_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.007111/0.007111, allocations: 104.8 kB / 15.74 MB, free: 5.996 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.001683/0.001683, allocations: 200 kB / 16.68 MB, free: 5.922 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.25/2.25, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 64.03 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008997/1.015, allocations: 6.043 MB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2196/1.235, allocations: 155.4 MB / 1.245 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/1.237, allocations: 26.03 kB / 1.245 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00567/1.242, allocations: 1.769 MB / 1.247 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003125/1.246, allocations: 0.747 MB / 1.248 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/1.249, allocations: 1.024 MB / 1.249 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004193/1.253, allocations: 3.362 MB / 1.252 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/1.254, allocations: 0.9516 MB / 1.253 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/1.256, allocations: 1.138 MB / 1.254 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/1.258, allocations: 1.035 MB / 1.255 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003386/1.258, allocations: 196 kB / 1.255 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004453/1.263, allocations: 2.239 MB / 1.257 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001804/1.265, allocations: 2.043 MB / 1.259 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002389/1.267, allocations: 2.118 MB / 1.261 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/1.278, allocations: 7.784 MB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.278, allocations: 0 / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.294e-06/1.278, allocations: 0 / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001528/1.278, allocations: 0 / 1.269 GB, free: 3.867 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.01601/1.294, allocations: 6.196 MB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.294, allocations: 16.03 kB / 1.275 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000326/1.294, allocations: 190.5 kB / 1.275 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/1.296, allocations: 471.5 kB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.043/2.34, allocations: 321.1 MB / 1.589 GB, free: 448.9 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/2.34, allocations: 132 kB / 1.589 GB, free: 448.9 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/2.34, allocations: 181.3 kB / 1.59 GB, free: 448.8 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/2.344, allocations: 1.665 MB / 1.591 GB, free: 448.2 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/2.344, allocations: 0 / 1.591 GB, free: 448.2 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/2.344, allocations: 54.8 kB / 1.591 GB, free: 448.2 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/2.344, allocations: 29.19 kB / 1.591 GB, free: 448.2 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/2.347, allocations: 1.731 MB / 1.593 GB, free: 447.7 MB / 1.311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06815/2.415, allocations: 76.57 MB / 1.668 GB, free: 410.3 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/2.418, allocations: 1.583 MB / 1.669 GB, free: 408.9 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/2.419, allocations: 1.035 MB / 1.67 GB, free: 407.9 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 8.508e-05/2.419, allocations: 40.58 kB / 1.67 GB, free: 407.9 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/2.42, allocations: 0.985 MB / 1.671 GB, free: 407.1 MB / 1.311 GB Notification: Performance of pre-optimization done (n=118): time 3.918e-06/2.42, allocations: 0 / 1.671 GB, free: 407.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=118): time 0.005459/2.426, allocations: 3.006 MB / 1.674 GB, free: 404.3 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/2.426, allocations: 343.5 kB / 1.675 GB, free: 404 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3583/2.784, allocations: 379.7 MB / 2.045 GB, free: 24.81 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0005483/2.785, allocations: 73.7 kB / 2.045 GB, free: 24.73 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/2.787, allocations: 1.598 MB / 2.047 GB, free: 23.14 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/2.787, allocations: 390 kB / 2.047 GB, free: 22.77 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006252/2.788, allocations: 0.5158 MB / 2.048 GB, free: 22.24 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/2.788, allocations: 305.1 kB / 2.048 GB, free: 21.94 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/2.789, allocations: 1.441 MB / 2.049 GB, free: 20.5 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/2.791, allocations: 2.169 MB / 2.052 GB, free: 18.01 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/2.795, allocations: 3.543 MB / 2.055 GB, free: 14.16 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/2.795, allocations: 8 kB / 2.055 GB, free: 14.15 MB / 1.311 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007103/2.802, allocations: 4.252 MB / 2.059 GB, free: 9.883 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/2.802, allocations: 189.3 kB / 2.059 GB, free: 9.695 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/2.802, allocations: 20 kB / 2.059 GB, free: 9.676 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.777e-05/2.802, allocations: 32 kB / 2.059 GB, free: 9.645 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/2.804, allocations: 473.5 kB / 2.06 GB, free: 9.184 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.61e-05/2.804, allocations: 51.78 kB / 2.06 GB, free: 9.133 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/2.807, allocations: 0.5435 MB / 2.06 GB, free: 8.586 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/2.807, allocations: 122.3 kB / 2.061 GB, free: 8.469 MB / 1.311 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.002359/2.81, allocations: 1.653 MB / 2.062 GB, free: 6.797 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001921/2.812, allocations: 355.3 kB / 2.063 GB, free: 6.445 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/2.816, allocations: 3.033 MB / 2.066 GB, free: 3.395 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/2.816, allocations: 12 kB / 2.066 GB, free: 3.383 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/2.816, allocations: 3.984 kB / 2.066 GB, free: 3.379 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/2.816, allocations: 3.984 kB / 2.066 GB, free: 3.375 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/2.82, allocations: 2.825 MB / 2.068 GB, free: 0.5117 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/2.82, allocations: 0 / 2.068 GB, free: 0.5117 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/2.821, allocations: 159.8 kB / 2.068 GB, free: 364 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/2.821, allocations: 15.98 kB / 2.068 GB, free: 348 kB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.66e-05/2.821, allocations: 27.98 kB / 2.069 GB, free: 320 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/2.821, allocations: 4 kB / 2.069 GB, free: 316 kB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/2.821, allocations: 0 / 2.069 GB, free: 316 kB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005475/2.827, allocations: 2.824 MB / 2.071 GB, free: 13.45 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003827/2.83, allocations: 1.233 MB / 2.072 GB, free: 12.2 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/2.832, allocations: 32 kB / 2.072 GB, free: 12.16 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/2.833, allocations: 299.9 kB / 2.073 GB, free: 11.87 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/2.834, allocations: 80.89 kB / 2.073 GB, free: 11.79 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/2.834, allocations: 51.97 kB / 2.073 GB, free: 11.74 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.8249/3.659, allocations: 305.3 MB / 2.371 GB, free: 253.7 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.874e-06/3.659, allocations: 0 / 2.371 GB, free: 253.7 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.004986/3.664, allocations: 1.218 MB / 2.372 GB, free: 252.6 MB / 1.342 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.007921/3.672, allocations: 4.236 MB / 2.376 GB, free: 248.9 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.004651/3.676, allocations: 4.619 MB / 2.381 GB, free: 244.3 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/3.676, allocations: 4 kB / 2.381 GB, free: 244.3 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/3.678, allocations: 2.246 MB / 2.383 GB, free: 242 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/3.682, allocations: 481 kB / 2.384 GB, free: 241.6 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.847/6.529, allocations: 1.504 GB / 3.888 GB, free: 277.2 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/6.531, allocations: 2.35 MB / 3.89 GB, free: 274.9 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.00275/6.534, allocations: 1.247 MB / 3.891 GB, free: 273.7 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/6.536, allocations: 1.761 MB / 3.893 GB, free: 271.9 MB / 1.342 GB Notification: Performance of SimCode: time 8.62e-07/6.536, allocations: 0 / 3.893 GB, free: 271.9 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7687/7.305, allocations: 254 MB / 4.141 GB, free: 19.32 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/23.91, allocations: 12.48 kB / 4.141 GB, free: 19.31 MB / 1.342 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > 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