Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001469/0.001469, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00188/0.00188, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.398/1.398, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.045/3.045, allocations: 0.49 GB / 0.7916 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_12_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.001896/0.001896, allocations: 78.27 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3139, allocations: 176.1 MB / 1.321 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01156/0.3255, allocations: 8.614 MB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2071/0.5326, allocations: 162.8 MB / 1.488 GB, free: 7.168 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.5344, allocations: 55.62 kB / 1.488 GB, free: 7.113 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005555/0.5399, allocations: 2.03 MB / 1.49 GB, free: 5.074 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.5442, allocations: 1.278 MB / 1.492 GB, free: 3.793 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003996/0.5482, allocations: 1.464 MB / 1.493 GB, free: 2.336 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007084/0.5552, allocations: 5.422 MB / 1.498 GB, free: 12.9 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.5573, allocations: 0.8566 MB / 1.499 GB, free: 11.99 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.561, allocations: 1.777 MB / 1.501 GB, free: 10.21 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.5643, allocations: 1.67 MB / 1.502 GB, free: 8.535 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.5654, allocations: 296 kB / 1.503 GB, free: 8.246 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006247/0.5717, allocations: 2.7 MB / 1.505 GB, free: 5.543 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.006531/0.5782, allocations: 4.85 MB / 1.51 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.009707/0.5879, allocations: 4.864 MB / 1.515 GB, free: 11.79 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.6099, allocations: 17.95 MB / 1.532 GB, free: 9.793 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6099, allocations: 0 / 1.532 GB, free: 9.793 MB / 1.232 GB Notification: Performance of FrontEnd: time 4.188e-06/0.6099, allocations: 8 kB / 1.532 GB, free: 9.785 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0003865/0.6103, allocations: 0 / 1.532 GB, free: 9.785 MB / 1.232 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.03715/0.6475, allocations: 14.45 MB / 1.547 GB, free: 11.21 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.6475, allocations: 15.98 kB / 1.547 GB, free: 11.19 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006539/0.6482, allocations: 240.9 kB / 1.547 GB, free: 10.95 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007014/0.6552, allocations: 1.038 MB / 1.548 GB, free: 9.902 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.079/2.734, allocations: 0.9948 GB / 2.543 GB, free: 281.4 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/2.734, allocations: 171.1 kB / 2.543 GB, free: 281.2 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005269/2.735, allocations: 232 kB / 2.543 GB, free: 281 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/2.738, allocations: 2.386 MB / 2.545 GB, free: 278.6 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/2.738, allocations: 0 / 2.545 GB, free: 278.6 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/2.738, allocations: 71.98 kB / 2.545 GB, free: 278.5 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/2.738, allocations: 36 kB / 2.545 GB, free: 278.4 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/2.741, allocations: 2.467 MB / 2.548 GB, free: 276 MB / 1.623 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/2.859, allocations: 243.2 MB / 2.785 GB, free: 32.49 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/2.862, allocations: 1.668 MB / 2.787 GB, free: 30.82 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/2.863, allocations: 0.9865 MB / 2.788 GB, free: 29.83 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 9.925e-05/2.863, allocations: 41.08 kB / 2.788 GB, free: 29.79 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/2.865, allocations: 1.362 MB / 2.789 GB, free: 28.41 MB / 1.623 GB Notification: Performance of pre-optimization done (n=138): time 3.076e-06/2.865, allocations: 0 / 2.789 GB, free: 28.41 MB / 1.623 GB Notification: Performance of matching and sorting (n=138): time 0.009497/2.874, allocations: 4.36 MB / 2.794 GB, free: 24.02 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/2.875, allocations: 362.5 kB / 2.794 GB, free: 23.61 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.544/5.418, allocations: 1.182 GB / 3.976 GB, free: 142.7 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.0004771/5.419, allocations: 87.73 kB / 3.976 GB, free: 142.6 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.004978/5.424, allocations: 3.774 MB / 3.98 GB, free: 139.1 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005268/5.424, allocations: 474.1 kB / 3.98 GB, free: 138.9 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/5.426, allocations: 0.6728 MB / 3.981 GB, free: 138.3 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/5.426, allocations: 308.8 kB / 3.981 GB, free: 138 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/5.428, allocations: 1.923 MB / 3.983 GB, free: 136 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/5.431, allocations: 2.881 MB / 3.986 GB, free: 132.8 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005143/5.436, allocations: 4.61 MB / 3.991 GB, free: 127.8 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.59e-05/5.437, allocations: 12.81 kB / 3.991 GB, free: 127.8 MB / 1.654 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01225/5.449, allocations: 6.031 MB / 3.997 GB, free: 122.1 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/5.449, allocations: 205.6 kB / 3.997 GB, free: 121.9 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.444e-05/5.449, allocations: 32.59 kB / 3.997 GB, free: 121.8 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/5.45, allocations: 124.9 kB / 3.997 GB, free: 121.7 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/5.452, allocations: 0.6044 MB / 3.997 GB, free: 121.1 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/5.454, allocations: 1.699 MB / 3.999 GB, free: 119.2 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006582/5.46, allocations: 1.185 MB / 4 GB, free: 118.2 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/5.461, allocations: 144 kB / 4 GB, free: 118.1 MB / 1.654 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.004846/5.466, allocations: 3.851 MB / 4.004 GB, free: 114.2 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00435/5.47, allocations: 0.7953 MB / 4.005 GB, free: 113.4 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00707/5.477, allocations: 4.373 MB / 4.009 GB, free: 109 MB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/5.477, allocations: 15.94 kB / 4.009 GB, free: 109 MB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/5.477, allocations: 0 / 4.009 GB, free: 109 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/5.477, allocations: 7.984 kB / 4.009 GB, free: 109 MB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/5.493, allocations: 6.787 MB / 4.016 GB, free: 102.2 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/5.493, allocations: 0 / 4.016 GB, free: 102.2 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/5.494, allocations: 203.7 kB / 4.016 GB, free: 102 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/5.494, allocations: 80.72 kB / 4.016 GB, free: 101.9 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003511/5.495, allocations: 39.97 kB / 4.016 GB, free: 101.9 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/5.496, allocations: 1.67 MB / 4.018 GB, free: 100.1 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/5.496, allocations: 0 / 4.018 GB, free: 100.1 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009206/5.506, allocations: 3.919 MB / 4.022 GB, free: 96.14 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007016/5.513, allocations: 3.182 MB / 4.025 GB, free: 92.95 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003943/5.516, allocations: 39.88 kB / 4.025 GB, free: 92.91 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006488/5.523, allocations: 0.7577 MB / 4.026 GB, free: 92.15 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004444/5.523, allocations: 97.19 kB / 4.026 GB, free: 92.05 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002894/5.524, allocations: 67.95 kB / 4.026 GB, free: 91.99 MB / 1.654 GB Notification: Performance of sorting global known variables: time 2.053/7.577, allocations: 0.9475 GB / 4.973 GB, free: 412.3 MB / 1.654 GB Notification: Performance of sort global known variables: time 2.11e-07/7.577, allocations: 0 / 4.973 GB, free: 412.3 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.007857/7.585, allocations: 1.896 MB / 4.975 GB, free: 410.6 MB / 1.654 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.0122/7.597, allocations: 5.43 MB / 4.98 GB, free: 406 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.005042/7.602, allocations: 4.374 MB / 4.985 GB, free: 401.7 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/7.602, allocations: 3.438 kB / 4.985 GB, free: 401.7 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/7.604, allocations: 1.874 MB / 4.986 GB, free: 399.8 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007964/7.612, allocations: 0.854 MB / 4.987 GB, free: 399 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.706/15.32, allocations: 4.771 GB / 9.758 GB, free: 1.129 MB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008728/15.33, allocations: 4.657 MB / 9.763 GB, free: 12.47 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.00906/15.34, allocations: 3.013 MB / 9.766 GB, free: 9.562 MB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01227/15.35, allocations: 4.041 MB / 9.77 GB, free: 5.52 MB / 1.67 GB Notification: Performance of SimCode: time 4.408e-06/15.35, allocations: 0 / 9.77 GB, free: 5.52 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.189/17.54, allocations: 0.7663 GB / 10.54 GB, free: 0.5878 GB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.6/53.14, allocations: 15.88 kB / 10.54 GB, free: 0.5877 GB / 1.686 GB " [Timeout remaining time 247] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 60.9177377759479]