Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 217.2 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.341/1.341, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.973/2.973, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 64.58 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3067, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.0109/0.3176, allocations: 8.66 MB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1818/0.4993, allocations: 163 MB / 1.52 GB, free: 12.19 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.5011, allocations: 51.56 kB / 1.521 GB, free: 12.14 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005637/0.5067, allocations: 2.198 MB / 1.523 GB, free: 9.934 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003798/0.5105, allocations: 1.296 MB / 1.524 GB, free: 8.637 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.5144, allocations: 1.548 MB / 1.525 GB, free: 7.094 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006584/0.5209, allocations: 5.769 MB / 1.531 GB, free: 1.305 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.5228, allocations: 0.8105 MB / 1.532 GB, free: 460 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.526, allocations: 1.765 MB / 1.534 GB, free: 14.68 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.5289, allocations: 1.693 MB / 1.535 GB, free: 12.98 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0009286/0.5298, allocations: 292 kB / 1.536 GB, free: 12.7 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005698/0.5355, allocations: 3.113 MB / 1.539 GB, free: 9.578 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.004586/0.5401, allocations: 4.862 MB / 1.543 GB, free: 4.707 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.007588/0.5477, allocations: 4.868 MB / 1.548 GB, free: 15.81 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02112/0.5688, allocations: 18 MB / 1.566 GB, free: 13.77 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5688, allocations: 0 / 1.566 GB, free: 13.77 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.487e-06/0.5688, allocations: 7.938 kB / 1.566 GB, free: 13.76 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0004044/0.5692, allocations: 0 / 1.566 GB, free: 13.76 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.03487/0.6041, allocations: 14.36 MB / 1.58 GB, free: 15.28 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6042, allocations: 16.03 kB / 1.58 GB, free: 15.27 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003858/0.6045, allocations: 248.8 kB / 1.58 GB, free: 15.01 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005943/0.6105, allocations: 1.034 MB / 1.581 GB, free: 13.97 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.01/2.621, allocations: 0.9949 GB / 2.576 GB, free: 306.1 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/2.621, allocations: 171.1 kB / 2.576 GB, free: 305.9 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/2.621, allocations: 240 kB / 2.576 GB, free: 305.7 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/2.624, allocations: 2.373 MB / 2.579 GB, free: 303.3 MB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/2.624, allocations: 0 / 2.579 GB, free: 303.3 MB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/2.624, allocations: 68 kB / 2.579 GB, free: 303.2 MB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/2.624, allocations: 47.83 kB / 2.579 GB, free: 303.2 MB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/2.626, allocations: 2.467 MB / 2.581 GB, free: 300.7 MB / 1.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1123/2.739, allocations: 243.1 MB / 2.818 GB, free: 57.28 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/2.741, allocations: 1.678 MB / 2.82 GB, free: 55.61 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/2.743, allocations: 0.9857 MB / 2.821 GB, free: 54.61 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/2.743, allocations: 41.08 kB / 2.821 GB, free: 54.57 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/2.744, allocations: 1.358 MB / 2.822 GB, free: 53.2 MB / 1.67 GB Notification: Performance of pre-optimization done (n=138): time 3.307e-06/2.744, allocations: 0 / 2.822 GB, free: 53.2 MB / 1.67 GB Notification: Performance of matching and sorting (n=138): time 0.009182/2.753, allocations: 4.285 MB / 2.827 GB, free: 48.89 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/2.754, allocations: 358.5 kB / 2.827 GB, free: 48.5 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.322/5.075, allocations: 1.182 GB / 4.009 GB, free: 171.3 MB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.0004619/5.076, allocations: 85.7 kB / 4.009 GB, free: 171.2 MB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.003953/5.08, allocations: 3.766 MB / 4.013 GB, free: 167.8 MB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/5.08, allocations: 477.2 kB / 4.014 GB, free: 167.6 MB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006473/5.081, allocations: 0.6789 MB / 4.014 GB, free: 166.9 MB / 1.686 GB Notification: Performance of setup shared object (initialization): time 3.062e-05/5.081, allocations: 301.8 kB / 4.015 GB, free: 166.6 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/5.083, allocations: 1.928 MB / 4.016 GB, free: 164.7 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/5.085, allocations: 2.878 MB / 4.019 GB, free: 161.4 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/5.089, allocations: 4.618 MB / 4.024 GB, free: 156.5 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/5.089, allocations: 8 kB / 4.024 GB, free: 156.5 MB / 1.686 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009738/5.099, allocations: 6.025 MB / 4.03 GB, free: 150.7 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/5.099, allocations: 211.3 kB / 4.03 GB, free: 150.5 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/5.099, allocations: 32 kB / 4.03 GB, free: 150.5 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/5.099, allocations: 116.8 kB / 4.03 GB, free: 150.4 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/5.101, allocations: 0.6161 MB / 4.031 GB, free: 149.8 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/5.103, allocations: 1.594 MB / 4.032 GB, free: 148.1 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005902/5.109, allocations: 1.186 MB / 4.033 GB, free: 147 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/5.109, allocations: 147.9 kB / 4.033 GB, free: 146.9 MB / 1.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (345): * Single equations (assignments): 343 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004428/5.113, allocations: 3.848 MB / 4.037 GB, free: 143 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003967/5.117, allocations: 0.7992 MB / 4.038 GB, free: 142.2 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/5.123, allocations: 4.365 MB / 4.042 GB, free: 137.9 MB / 1.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/5.123, allocations: 12 kB / 4.042 GB, free: 137.8 MB / 1.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/5.123, allocations: 2.531 kB / 4.042 GB, free: 137.8 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/5.123, allocations: 3.984 kB / 4.042 GB, free: 137.8 MB / 1.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006764/5.129, allocations: 6.763 MB / 4.049 GB, free: 131.1 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/5.129, allocations: 0 / 4.049 GB, free: 131.1 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/5.13, allocations: 207.6 kB / 4.049 GB, free: 130.9 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004098/5.131, allocations: 72.78 kB / 4.049 GB, free: 130.8 MB / 1.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.64e-05/5.131, allocations: 48.03 kB / 4.049 GB, free: 130.7 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/5.132, allocations: 1.553 MB / 4.051 GB, free: 129.1 MB / 1.686 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/5.132, allocations: 4.031 kB / 4.051 GB, free: 129.1 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/5.138, allocations: 3.926 MB / 4.055 GB, free: 125.1 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005234/5.143, allocations: 3.099 MB / 4.058 GB, free: 122 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/5.145, allocations: 39.89 kB / 4.058 GB, free: 122 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/5.148, allocations: 0.7575 MB / 4.058 GB, free: 121.2 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/5.148, allocations: 109.1 kB / 4.058 GB, free: 121.1 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/5.148, allocations: 67.97 kB / 4.058 GB, free: 121.1 MB / 1.686 GB Notification: Performance of sorting global known variables: time 1.752/6.9, allocations: 0.9475 GB / 5.006 GB, free: 460.6 MB / 1.686 GB Notification: Performance of sort global known variables: time 2.6e-07/6.9, allocations: 0 / 5.006 GB, free: 460.6 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.006898/6.907, allocations: 1.897 MB / 5.008 GB, free: 458.9 MB / 1.686 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/6.918, allocations: 5.44 MB / 5.013 GB, free: 454.3 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.004537/6.922, allocations: 4.378 MB / 5.017 GB, free: 449.9 MB / 1.686 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/6.922, allocations: 6.375 kB / 5.017 GB, free: 449.9 MB / 1.686 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/6.924, allocations: 1.87 MB / 5.019 GB, free: 448.1 MB / 1.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005353/6.929, allocations: 0.837 MB / 5.02 GB, free: 447.2 MB / 1.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.308/14.24, allocations: 4.771 GB / 9.791 GB, free: 189.7 MB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004844/14.24, allocations: 4.667 MB / 9.796 GB, free: 185 MB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.007174/14.25, allocations: 3.009 MB / 9.799 GB, free: 182.1 MB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007379/14.26, allocations: 4.037 MB / 9.803 GB, free: 178.1 MB / 1.701 GB Notification: Performance of SimCode: time 1.112e-06/14.26, allocations: 0 / 9.803 GB, free: 178.1 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.45/15.71, allocations: 0.7672 GB / 10.57 GB, free: 106 MB / 1.717 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.25/53.96, allocations: 4 kB / 10.57 GB, free: 106 MB / 1.717 GB " [Timeout remaining time 246] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 61.593131966888905]