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.001213/0.001213, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001405/0.001405, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.313/1.313, allocations: 230.6 MB / 256 MB, free: 7.789 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.966/2.966, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.001892/0.001892, allocations: 67.91 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3064, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01003/0.3164, allocations: 7.55 MB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.4853, allocations: 140.7 MB / 1.508 GB, free: 9.266 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.487, allocations: 51.62 kB / 1.508 GB, free: 9.215 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005274/0.4922, allocations: 2.085 MB / 1.51 GB, free: 7.121 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003873/0.4961, allocations: 1.301 MB / 1.512 GB, free: 5.816 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.5007, allocations: 1.5 MB / 1.513 GB, free: 4.324 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.006439/0.5072, allocations: 5.687 MB / 1.519 GB, free: 14.62 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.5087, allocations: 0.7792 MB / 1.519 GB, free: 13.8 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.5115, allocations: 1.781 MB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.5141, allocations: 1.584 MB / 1.523 GB, free: 10.42 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0007162/0.5148, allocations: 296 kB / 1.523 GB, free: 10.13 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/0.5198, allocations: 2.82 MB / 1.526 GB, free: 7.309 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.004361/0.5242, allocations: 4.846 MB / 1.53 GB, free: 2.453 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.005087/0.5293, allocations: 3.92 MB / 1.534 GB, free: 14.51 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.5475, allocations: 18.06 MB / 1.552 GB, free: 12.39 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5475, allocations: 0 / 1.552 GB, free: 12.39 MB / 1.248 GB Notification: Performance of FrontEnd: time 5.821e-06/0.5475, allocations: 4 kB / 1.552 GB, free: 12.39 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0003101/0.5478, allocations: 4 kB / 1.552 GB, free: 12.39 MB / 1.248 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.03383/0.5816, allocations: 14.66 MB / 1.566 GB, free: 13.61 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5817, allocations: 8.031 kB / 1.566 GB, free: 13.61 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003707/0.582, allocations: 244.9 kB / 1.566 GB, free: 13.36 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005357/0.5874, allocations: 1.034 MB / 1.567 GB, free: 12.32 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.922/2.51, allocations: 0.995 GB / 2.562 GB, free: 302.6 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/2.51, allocations: 171.1 kB / 2.563 GB, free: 302.5 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/2.51, allocations: 237.5 kB / 2.563 GB, free: 302.2 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/2.513, allocations: 2.77 MB / 2.565 GB, free: 299.3 MB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/2.513, allocations: 4 kB / 2.565 GB, free: 299.3 MB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/2.514, allocations: 75.98 kB / 2.566 GB, free: 299.2 MB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/2.514, allocations: 37.81 kB / 2.566 GB, free: 299.2 MB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/2.516, allocations: 2.336 MB / 2.568 GB, free: 296.8 MB / 1.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/2.63, allocations: 240.8 MB / 2.803 GB, free: 55.85 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/2.632, allocations: 1.594 MB / 2.805 GB, free: 54.25 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/2.633, allocations: 0.9158 MB / 2.805 GB, free: 53.32 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.909e-05/2.633, allocations: 26.94 kB / 2.806 GB, free: 53.3 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/2.635, allocations: 1.588 MB / 2.807 GB, free: 51.61 MB / 1.67 GB Notification: Performance of pre-optimization done (n=138): time 2.845e-06/2.635, allocations: 0 / 2.807 GB, free: 51.61 MB / 1.67 GB Notification: Performance of matching and sorting (n=138): time 0.008533/2.643, allocations: 3.905 MB / 2.811 GB, free: 47.68 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/2.643, allocations: 338.5 kB / 2.811 GB, free: 47.3 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.41/5.053, allocations: 1.182 GB / 3.994 GB, free: 199.1 MB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.0004742/5.054, allocations: 81.7 kB / 3.994 GB, free: 199 MB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.004542/5.058, allocations: 3.771 MB / 3.997 GB, free: 195.5 MB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004277/5.059, allocations: 477.8 kB / 3.998 GB, free: 195.4 MB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009409/5.06, allocations: 0.6748 MB / 3.998 GB, free: 194.7 MB / 1.701 GB Notification: Performance of setup shared object (initialization): time 3.512e-05/5.06, allocations: 306 kB / 3.999 GB, free: 194.4 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/5.062, allocations: 1.851 MB / 4.001 GB, free: 192.5 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/5.064, allocations: 2.93 MB / 4.003 GB, free: 189.2 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/5.068, allocations: 4.13 MB / 4.007 GB, free: 184.7 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/5.068, allocations: 12 kB / 4.007 GB, free: 184.7 MB / 1.701 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009753/5.077, allocations: 5.71 MB / 4.013 GB, free: 179.3 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/5.078, allocations: 185.5 kB / 4.013 GB, free: 179.1 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/5.078, allocations: 28.56 kB / 4.013 GB, free: 179.1 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/5.078, allocations: 127.1 kB / 4.013 GB, free: 178.9 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/5.08, allocations: 0.614 MB / 4.014 GB, free: 178.3 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/5.082, allocations: 1.579 MB / 4.016 GB, free: 176.6 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/5.087, allocations: 1.188 MB / 4.017 GB, free: 175.6 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/5.087, allocations: 144.8 kB / 4.017 GB, free: 175.4 MB / 1.701 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.003889/5.091, allocations: 3.819 MB / 4.021 GB, free: 171.6 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003841/5.095, allocations: 0.7953 MB / 4.021 GB, free: 170.8 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/5.101, allocations: 3.889 MB / 4.025 GB, free: 166.9 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/5.101, allocations: 12 kB / 4.025 GB, free: 166.9 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/5.101, allocations: 0 / 4.025 GB, free: 166.9 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/5.101, allocations: 3.984 kB / 4.025 GB, free: 166.9 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/5.109, allocations: 5.042 MB / 4.03 GB, free: 161.9 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/5.109, allocations: 0 / 4.03 GB, free: 161.9 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/5.11, allocations: 215.7 kB / 4.03 GB, free: 161.7 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/5.11, allocations: 76.78 kB / 4.03 GB, free: 161.6 MB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-05/5.111, allocations: 39.97 kB / 4.03 GB, free: 161.5 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/5.112, allocations: 1.544 MB / 4.032 GB, free: 159.9 MB / 1.701 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/5.112, allocations: 4.031 kB / 4.032 GB, free: 159.9 MB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006632/5.119, allocations: 3.437 MB / 4.035 GB, free: 156.4 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007229/5.126, allocations: 3.423 MB / 4.039 GB, free: 153 MB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00286/5.129, allocations: 35.94 kB / 4.039 GB, free: 153 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004705/5.133, allocations: 0.7522 MB / 4.039 GB, free: 152.2 MB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/5.134, allocations: 105.1 kB / 4.039 GB, free: 152.1 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/5.134, allocations: 71.95 kB / 4.04 GB, free: 152 MB / 1.701 GB Notification: Performance of sorting global known variables: time 1.802/6.935, allocations: 0.9475 GB / 4.987 GB, free: 0.4926 GB / 1.701 GB Notification: Performance of sort global known variables: time 2.5e-07/6.935, allocations: 0 / 4.987 GB, free: 0.4926 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.006523/6.942, allocations: 1.903 MB / 4.989 GB, free: 0.4909 GB / 1.701 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.01047/6.952, allocations: 4.98 MB / 4.994 GB, free: 498.6 MB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.004743/6.957, allocations: 4.058 MB / 4.998 GB, free: 494.6 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/6.957, allocations: 7.938 kB / 4.998 GB, free: 494.6 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/6.959, allocations: 1.607 MB / 4.999 GB, free: 492.9 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007072/6.966, allocations: 0.8531 MB / 5 GB, free: 492.1 MB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.021/13.99, allocations: 4.77 GB / 9.771 GB, free: 276 MB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005524/13.99, allocations: 4.175 MB / 9.775 GB, free: 271.8 MB / 1.717 GB Notification: Performance of simCode: alias equations: time 0.006079/14, allocations: 3.014 MB / 9.778 GB, free: 268.9 MB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006666/14.01, allocations: 4.033 MB / 9.782 GB, free: 264.8 MB / 1.717 GB Notification: Performance of SimCode: time 1.343e-06/14.01, allocations: 0 / 9.782 GB, free: 264.8 MB / 1.717 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.343/15.35, allocations: 0.7765 GB / 10.56 GB, free: 189 MB / 1.732 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.65/44, allocations: 11.88 kB / 10.56 GB, free: 189 MB / 1.732 GB " [Timeout remaining time 256] (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: 51.43773818993941]