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.001259/0.001259, 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.002196/0.002196, allocations: 213.4 kB / 22.25 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.785 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 2.946/2.946, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 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.001964/0.001964, allocations: 76.23 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3136, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01004/0.3237, allocations: 7.552 MB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1725/0.4962, allocations: 140.7 MB / 1.47 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.4977, allocations: 55.56 kB / 1.47 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.5037, allocations: 2.093 MB / 1.472 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.5077, allocations: 1.295 MB / 1.473 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.5115, allocations: 1.504 MB / 1.475 GB, free: 8.59 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006716/0.5182, allocations: 5.695 MB / 1.48 GB, free: 2.883 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.5201, allocations: 0.7793 MB / 1.481 GB, free: 2.055 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.523, allocations: 1.765 MB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/0.5257, allocations: 1.588 MB / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008292/0.5266, allocations: 292 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005159/0.5317, allocations: 2.828 MB / 1.487 GB, free: 11.57 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004547/0.5363, allocations: 4.85 MB / 1.492 GB, free: 6.715 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.005966/0.5422, allocations: 3.928 MB / 1.496 GB, free: 2.77 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01955/0.5618, allocations: 18.05 MB / 1.514 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5618, allocations: 0 / 1.514 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5618, allocations: 4 kB / 1.514 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002948/0.5621, allocations: 0 / 1.514 GB, free: 0.6602 MB / 1.201 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.04033/0.6024, allocations: 14.66 MB / 1.528 GB, free: 1.879 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6025, allocations: 8.031 kB / 1.528 GB, free: 1.871 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005352/0.603, allocations: 244.9 kB / 1.528 GB, free: 1.621 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007048/0.6101, allocations: 1.034 MB / 1.529 GB, free: 0.582 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.953/2.563, allocations: 0.995 GB / 2.524 GB, free: 302.6 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/2.563, allocations: 175.1 kB / 2.524 GB, free: 302.4 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/2.563, allocations: 236 kB / 2.524 GB, free: 302.2 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/2.566, allocations: 2.777 MB / 2.527 GB, free: 299.2 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/2.566, allocations: 0 / 2.527 GB, free: 299.2 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/2.566, allocations: 68 kB / 2.527 GB, free: 299.2 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/2.566, allocations: 40 kB / 2.527 GB, free: 299.1 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/2.569, allocations: 2.336 MB / 2.53 GB, free: 296.8 MB / 1.623 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1238/2.693, allocations: 240.8 MB / 2.765 GB, free: 55.83 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/2.695, allocations: 1.584 MB / 2.766 GB, free: 54.24 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/2.696, allocations: 0.908 MB / 2.767 GB, free: 53.32 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/2.696, allocations: 32.97 kB / 2.767 GB, free: 53.29 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/2.698, allocations: 1.597 MB / 2.769 GB, free: 51.6 MB / 1.623 GB Notification: Performance of pre-optimization done (n=138): time 3.056e-06/2.698, allocations: 8 kB / 2.769 GB, free: 51.59 MB / 1.623 GB Notification: Performance of matching and sorting (n=138): time 0.01256/2.711, allocations: 3.905 MB / 2.773 GB, free: 47.65 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/2.711, allocations: 334.6 kB / 2.773 GB, free: 47.28 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.586/5.297, allocations: 1.182 GB / 3.955 GB, free: 164.7 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.0006578/5.297, allocations: 85.7 kB / 3.955 GB, free: 164.6 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.005398/5.303, allocations: 3.764 MB / 3.959 GB, free: 161.1 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/5.303, allocations: 472.7 kB / 3.959 GB, free: 160.9 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008368/5.304, allocations: 0.6728 MB / 3.96 GB, free: 160.2 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/5.304, allocations: 305.1 kB / 3.96 GB, free: 159.9 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/5.306, allocations: 1.853 MB / 3.962 GB, free: 158.1 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/5.309, allocations: 2.929 MB / 3.965 GB, free: 154.7 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/5.313, allocations: 4.129 MB / 3.969 GB, free: 150.2 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/5.313, allocations: 11.94 kB / 3.969 GB, free: 150.2 MB / 1.654 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01165/5.325, allocations: 5.719 MB / 3.975 GB, free: 144.8 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/5.325, allocations: 178.2 kB / 3.975 GB, free: 144.6 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/5.325, allocations: 28 kB / 3.975 GB, free: 144.6 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/5.325, allocations: 124.5 kB / 3.975 GB, free: 144.4 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/5.327, allocations: 0.6122 MB / 3.976 GB, free: 143.8 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/5.329, allocations: 1.578 MB / 3.977 GB, free: 142.1 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00712/5.336, allocations: 1.189 MB / 3.978 GB, free: 141.1 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/5.337, allocations: 148 kB / 3.978 GB, free: 140.9 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.005351/5.342, allocations: 3.829 MB / 3.982 GB, free: 137.1 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005474/5.347, allocations: 0.7922 MB / 3.983 GB, free: 136.3 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00642/5.354, allocations: 3.894 MB / 3.987 GB, free: 132.4 MB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/5.354, allocations: 12 kB / 3.987 GB, free: 132.4 MB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/5.354, allocations: 0 / 3.987 GB, free: 132.4 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/5.354, allocations: 7.969 kB / 3.987 GB, free: 132.4 MB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009123/5.363, allocations: 5.045 MB / 3.992 GB, free: 127.4 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/5.363, allocations: 3.984 kB / 3.992 GB, free: 127.4 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009402/5.364, allocations: 203.7 kB / 3.992 GB, free: 127.2 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/5.364, allocations: 80.72 kB / 3.992 GB, free: 127.1 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/5.365, allocations: 39.97 kB / 3.992 GB, free: 127 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/5.366, allocations: 1.544 MB / 3.994 GB, free: 125.4 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/5.366, allocations: 0 / 3.994 GB, free: 125.4 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007972/5.374, allocations: 3.441 MB / 3.997 GB, free: 121.9 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008096/5.382, allocations: 3.42 MB / 4 GB, free: 118.5 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003428/5.386, allocations: 37.86 kB / 4 GB, free: 118.5 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006038/5.392, allocations: 0.7548 MB / 4.001 GB, free: 117.7 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/5.392, allocations: 105.1 kB / 4.001 GB, free: 117.6 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/5.392, allocations: 76.02 kB / 4.001 GB, free: 117.5 MB / 1.654 GB Notification: Performance of sorting global known variables: time 1.94/7.332, allocations: 0.9475 GB / 4.949 GB, free: 436.8 MB / 1.654 GB Notification: Performance of sort global known variables: time 5.51e-07/7.332, allocations: 0 / 4.949 GB, free: 436.8 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.007234/7.34, allocations: 1.898 MB / 4.951 GB, free: 435.1 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.01165/7.351, allocations: 4.975 MB / 4.955 GB, free: 431 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.00483/7.356, allocations: 4.07 MB / 4.959 GB, free: 426.9 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/7.356, allocations: 3.938 kB / 4.959 GB, free: 426.9 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/7.358, allocations: 1.607 MB / 4.961 GB, free: 425.3 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009719/7.367, allocations: 0.8443 MB / 4.962 GB, free: 424.4 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.089/15.46, allocations: 4.77 GB / 9.732 GB, free: 25.05 MB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005016/15.46, allocations: 4.172 MB / 9.736 GB, free: 20.88 MB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.008441/15.47, allocations: 3.009 MB / 9.739 GB, free: 17.96 MB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008174/15.48, allocations: 4.041 MB / 9.743 GB, free: 13.92 MB / 1.654 GB Notification: Performance of SimCode: time 1.513e-06/15.48, allocations: 0 / 9.743 GB, free: 13.92 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.303/17.78, allocations: 0.7765 GB / 10.52 GB, free: 0.5969 GB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.38/51.16, allocations: 4 kB / 10.52 GB, free: 0.5969 GB / 1.686 GB " [Timeout remaining time 248] (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: 58.79080007504672]