Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 201.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 250.2 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 63.91 kB / 1.108 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8311, allocations: 168.7 MB / 1.273 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01168/0.8428, allocations: 8.619 MB / 1.281 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1922/1.035, allocations: 160.1 MB / 1.438 GB, free: 11 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/1.037, allocations: 43.75 kB / 1.438 GB, free: 10.96 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005738/1.043, allocations: 2.013 MB / 1.44 GB, free: 8.941 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003847/1.047, allocations: 1.276 MB / 1.441 GB, free: 7.664 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/1.051, allocations: 1.473 MB / 1.442 GB, free: 6.199 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006591/1.057, allocations: 5.356 MB / 1.448 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/1.059, allocations: 0.8175 MB / 1.448 GB, free: 15.96 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/1.062, allocations: 1.718 MB / 1.45 GB, free: 14.24 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/1.065, allocations: 1.666 MB / 1.452 GB, free: 12.57 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009868/1.066, allocations: 295.9 kB / 1.452 GB, free: 12.28 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005254/1.071, allocations: 2.657 MB / 1.454 GB, free: 9.621 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.004887/1.076, allocations: 4.858 MB / 1.459 GB, free: 4.754 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.007825/1.084, allocations: 4.864 MB / 1.464 GB, free: 15.86 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0221/1.106, allocations: 17.91 MB / 1.481 GB, free: 13.9 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.106, allocations: 4 kB / 1.481 GB, free: 13.9 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.335e-06/1.106, allocations: 0 / 1.481 GB, free: 13.9 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000433/1.107, allocations: 0 / 1.481 GB, free: 13.9 MB / 1.186 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.04099/1.148, allocations: 14.43 MB / 1.496 GB, free: 15.34 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.148, allocations: 12.03 kB / 1.496 GB, free: 15.33 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006876/1.148, allocations: 244.9 kB / 1.496 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006777/1.155, allocations: 0.9636 MB / 1.497 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.35/3.505, allocations: 0.9948 GB / 2.492 GB, free: 282.8 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/3.505, allocations: 171.1 kB / 2.492 GB, free: 282.6 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005489/3.505, allocations: 236 kB / 2.492 GB, free: 282.4 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/3.509, allocations: 2.374 MB / 2.494 GB, free: 280 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/3.509, allocations: 0 / 2.494 GB, free: 280 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/3.509, allocations: 72 kB / 2.494 GB, free: 279.9 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/3.509, allocations: 36 kB / 2.494 GB, free: 279.9 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/3.513, allocations: 2.467 MB / 2.497 GB, free: 277.4 MB / 1.561 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1285/3.641, allocations: 243.1 MB / 2.734 GB, free: 34.05 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/3.644, allocations: 1.66 MB / 2.736 GB, free: 32.39 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/3.646, allocations: 0.9922 MB / 2.737 GB, free: 31.39 MB / 1.561 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/3.646, allocations: 36.94 kB / 2.737 GB, free: 31.36 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/3.647, allocations: 1.358 MB / 2.738 GB, free: 29.98 MB / 1.561 GB Notification: Performance of pre-optimization done (n=138): time 4.298e-06/3.647, allocations: 0 / 2.738 GB, free: 29.98 MB / 1.561 GB Notification: Performance of matching and sorting (n=138): time 0.01063/3.658, allocations: 4.356 MB / 2.742 GB, free: 25.59 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/3.658, allocations: 362.5 kB / 2.743 GB, free: 25.19 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.634/6.292, allocations: 1.182 GB / 3.925 GB, free: 95.45 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0005296/6.293, allocations: 81.7 kB / 3.925 GB, free: 95.37 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.006078/6.299, allocations: 3.761 MB / 3.929 GB, free: 91.88 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.000636/6.299, allocations: 481 kB / 3.929 GB, free: 91.72 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/6.301, allocations: 0.6829 MB / 3.93 GB, free: 91.04 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/6.301, allocations: 301.1 kB / 3.93 GB, free: 90.75 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/6.303, allocations: 1.923 MB / 3.932 GB, free: 88.82 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/6.306, allocations: 2.875 MB / 3.935 GB, free: 85.57 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/6.311, allocations: 4.621 MB / 3.939 GB, free: 80.61 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.974e-05/6.311, allocations: 8 kB / 3.939 GB, free: 80.6 MB / 1.592 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01221/6.323, allocations: 6.023 MB / 3.945 GB, free: 74.9 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/6.324, allocations: 209.6 kB / 3.946 GB, free: 74.69 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/6.324, allocations: 35.22 kB / 3.946 GB, free: 74.66 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/6.324, allocations: 116.8 kB / 3.946 GB, free: 74.54 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/6.327, allocations: 0.6161 MB / 3.946 GB, free: 73.92 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/6.329, allocations: 1.684 MB / 3.948 GB, free: 72.09 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007174/6.336, allocations: 1.191 MB / 3.949 GB, free: 71.05 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006029/6.336, allocations: 140 kB / 3.949 GB, free: 70.91 MB / 1.592 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.005428/6.342, allocations: 3.85 MB / 3.953 GB, free: 67.06 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004873/6.347, allocations: 0.7953 MB / 3.954 GB, free: 66.26 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007487/6.354, allocations: 4.368 MB / 3.958 GB, free: 61.88 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/6.354, allocations: 12 kB / 3.958 GB, free: 61.87 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/6.354, allocations: 4 kB / 3.958 GB, free: 61.87 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/6.354, allocations: 3.984 kB / 3.958 GB, free: 61.86 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/6.367, allocations: 6.79 MB / 3.965 GB, free: 55.06 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/6.367, allocations: 0 / 3.965 GB, free: 55.06 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/6.368, allocations: 211.6 kB / 3.965 GB, free: 54.86 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/6.369, allocations: 76.78 kB / 3.965 GB, free: 54.78 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/6.369, allocations: 39.97 kB / 3.965 GB, free: 54.74 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/6.371, allocations: 1.653 MB / 3.967 GB, free: 52.94 MB / 1.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/6.371, allocations: 4.062 kB / 3.967 GB, free: 52.94 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/6.379, allocations: 3.927 MB / 3.97 GB, free: 48.98 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008182/6.387, allocations: 3.174 MB / 3.974 GB, free: 45.8 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005011/6.392, allocations: 37.91 kB / 3.974 GB, free: 45.76 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006478/6.399, allocations: 0.7597 MB / 3.974 GB, free: 45 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/6.399, allocations: 97.17 kB / 3.974 GB, free: 44.91 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/6.399, allocations: 67.97 kB / 3.974 GB, free: 44.84 MB / 1.592 GB Notification: Performance of sorting global known variables: time 1.927/8.326, allocations: 0.9475 GB / 4.922 GB, free: 318.1 MB / 1.592 GB Notification: Performance of sort global known variables: time 2.51e-07/8.326, allocations: 0 / 4.922 GB, free: 318.1 MB / 1.592 GB Notification: Performance of remove unused functions: time 0.007676/8.334, allocations: 1.901 MB / 4.924 GB, free: 316.4 MB / 1.592 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.01174/8.345, allocations: 5.416 MB / 4.929 GB, free: 311.8 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.005278/8.351, allocations: 4.371 MB / 4.933 GB, free: 307.5 MB / 1.592 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/8.351, allocations: 0 / 4.933 GB, free: 307.5 MB / 1.592 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/8.353, allocations: 1.886 MB / 4.935 GB, free: 305.6 MB / 1.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/8.363, allocations: 0.8521 MB / 4.936 GB, free: 304.7 MB / 1.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.813/17.18, allocations: 4.771 GB / 9.707 GB, free: 430.2 MB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006891/17.18, allocations: 4.648 MB / 9.712 GB, free: 425.6 MB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.007496/17.19, allocations: 3.014 MB / 9.715 GB, free: 422.7 MB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008575/17.2, allocations: 4.036 MB / 9.719 GB, free: 418.6 MB / 1.607 GB Notification: Performance of SimCode: time 1.733e-06/17.2, allocations: 0 / 9.719 GB, free: 418.6 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.571/18.77, allocations: 0.7661 GB / 10.48 GB, free: 344.7 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.9/56.67, allocations: 14.72 kB / 10.48 GB, free: 344.7 MB / 1.639 GB " [Timeout remaining time 243] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 64.41759552014992]