Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001833/0.001833, allocations: 102 kB / 16.45 MB, free: 6.445 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.002025/0.002025, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.533/1.533, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 443.5 MB / 0.7287 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 1.056 GB, free: 2.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 160.7 MB / 1.213 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01181/0.3465, allocations: 8.592 MB / 1.221 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8555/1.202, allocations: 159.9 MB / 1.377 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/1.205, allocations: 37.94 kB / 1.378 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006905/1.211, allocations: 2.016 MB / 1.38 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004146/1.216, allocations: 1.272 MB / 1.381 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004053/1.22, allocations: 1.457 MB / 1.382 GB, free: 8.375 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008144/1.228, allocations: 5.401 MB / 1.387 GB, free: 5.043 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/1.23, allocations: 0.8583 MB / 1.388 GB, free: 4.449 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004203/1.234, allocations: 1.74 MB / 1.39 GB, free: 3.434 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003954/1.238, allocations: 1.666 MB / 1.392 GB, free: 2.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/1.239, allocations: 291 kB / 1.392 GB, free: 2.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005964/1.245, allocations: 2.657 MB / 1.394 GB, free: 1.004 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004851/1.25, allocations: 4.849 MB / 1.399 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.008631/1.259, allocations: 4.866 MB / 1.404 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02394/1.283, allocations: 17.91 MB / 1.421 GB, free: 11.88 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.283, allocations: 0 / 1.421 GB, free: 11.88 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.776e-06/1.283, allocations: 0 / 1.421 GB, free: 11.88 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004788/1.283, allocations: 4 kB / 1.421 GB, free: 11.87 MB / 1.092 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.04213/1.325, allocations: 14.42 MB / 1.436 GB, free: 13.32 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.325, allocations: 8.031 kB / 1.436 GB, free: 13.31 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006617/1.326, allocations: 240.9 kB / 1.436 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006579/1.333, allocations: 0.9636 MB / 1.437 GB, free: 12.1 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.137/3.469, allocations: 0.9948 GB / 2.432 GB, free: 0.4931 GB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/3.469, allocations: 172 kB / 2.432 GB, free: 0.493 GB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/3.47, allocations: 235.7 kB / 2.432 GB, free: 0.4929 GB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/3.474, allocations: 2.369 MB / 2.434 GB, free: 0.4921 GB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/3.474, allocations: 1.5 kB / 2.434 GB, free: 0.4921 GB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/3.474, allocations: 70.72 kB / 2.434 GB, free: 0.492 GB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/3.474, allocations: 37.22 kB / 2.434 GB, free: 0.492 GB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/3.478, allocations: 2.47 MB / 2.437 GB, free: 0.4914 GB / 1.498 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.1315/3.609, allocations: 243.1 MB / 2.674 GB, free: 284.5 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/3.612, allocations: 1.668 MB / 2.676 GB, free: 282.8 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/3.613, allocations: 0.9886 MB / 2.677 GB, free: 281.9 MB / 1.498 GB Notification: Performance of preOpt evalFunc (simulation): time 9.344e-05/3.613, allocations: 41.09 kB / 2.677 GB, free: 281.8 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/3.615, allocations: 1.358 MB / 2.678 GB, free: 280.4 MB / 1.498 GB Notification: Performance of pre-optimization done (n=138): time 2.945e-06/3.615, allocations: 0 / 2.678 GB, free: 280.4 MB / 1.498 GB Notification: Performance of matching and sorting (n=138): time 0.0116/3.627, allocations: 4.356 MB / 2.682 GB, free: 276 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/3.627, allocations: 366.5 kB / 2.683 GB, free: 275.6 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.542/6.168, allocations: 1.182 GB / 3.865 GB, free: 263.3 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.0005756/6.169, allocations: 89.69 kB / 3.865 GB, free: 263.2 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.006068/6.175, allocations: 3.755 MB / 3.869 GB, free: 259.7 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006656/6.176, allocations: 476.3 kB / 3.869 GB, free: 259.6 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/6.177, allocations: 0.6756 MB / 3.87 GB, free: 258.9 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 4.54e-05/6.178, allocations: 305.6 kB / 3.87 GB, free: 258.6 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/6.18, allocations: 1.928 MB / 3.872 GB, free: 256.7 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/6.183, allocations: 2.874 MB / 3.875 GB, free: 253.4 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004784/6.188, allocations: 4.622 MB / 3.879 GB, free: 248.6 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-05/6.188, allocations: 9.031 kB / 3.879 GB, free: 248.6 MB / 1.514 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0135/6.201, allocations: 6.022 MB / 3.885 GB, free: 242.6 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/6.201, allocations: 220.8 kB / 3.886 GB, free: 242.4 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.917e-05/6.201, allocations: 28 kB / 3.886 GB, free: 242.3 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/6.202, allocations: 112.8 kB / 3.886 GB, free: 242.2 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/6.204, allocations: 0.6161 MB / 3.886 GB, free: 241.6 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/6.206, allocations: 1.696 MB / 3.888 GB, free: 239.8 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007664/6.214, allocations: 1.182 MB / 3.889 GB, free: 238.7 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005059/6.214, allocations: 140 kB / 3.889 GB, free: 238.6 MB / 1.514 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.005863/6.22, allocations: 3.849 MB / 3.893 GB, free: 234.7 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005675/6.226, allocations: 0.7953 MB / 3.894 GB, free: 233.9 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007535/6.233, allocations: 4.365 MB / 3.898 GB, free: 229.6 MB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/6.233, allocations: 12 kB / 3.898 GB, free: 229.6 MB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/6.233, allocations: 0 / 3.898 GB, free: 229.6 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/6.234, allocations: 15.97 kB / 3.898 GB, free: 229.6 MB / 1.514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/6.247, allocations: 6.778 MB / 3.905 GB, free: 222.8 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/6.247, allocations: 3.375 kB / 3.905 GB, free: 222.8 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/6.248, allocations: 207.6 kB / 3.905 GB, free: 222.6 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/6.249, allocations: 73.98 kB / 3.905 GB, free: 222.5 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002675/6.249, allocations: 46.78 kB / 3.905 GB, free: 222.4 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/6.251, allocations: 1.661 MB / 3.907 GB, free: 220.6 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/6.251, allocations: 0 / 3.907 GB, free: 220.6 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/6.261, allocations: 3.919 MB / 3.91 GB, free: 216.7 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009261/6.27, allocations: 3.174 MB / 3.914 GB, free: 213.5 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005076/6.275, allocations: 37.86 kB / 3.914 GB, free: 213.5 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007329/6.283, allocations: 0.758 MB / 3.914 GB, free: 212.7 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004678/6.283, allocations: 103 kB / 3.914 GB, free: 212.6 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002951/6.283, allocations: 67.97 kB / 3.914 GB, free: 212.5 MB / 1.514 GB Notification: Performance of sorting global known variables: time 2.12/8.403, allocations: 0.9475 GB / 4.862 GB, free: 419.3 MB / 1.514 GB Notification: Performance of sort global known variables: time 2.3e-07/8.403, allocations: 4 kB / 4.862 GB, free: 419.3 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.009385/8.412, allocations: 1.887 MB / 4.864 GB, free: 417.6 MB / 1.514 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.01485/8.427, allocations: 5.428 MB / 4.869 GB, free: 413.4 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.006025/8.433, allocations: 4.375 MB / 4.873 GB, free: 409.6 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/8.433, allocations: 6.375 kB / 4.873 GB, free: 409.6 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/8.436, allocations: 1.875 MB / 4.875 GB, free: 407.9 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009722/8.445, allocations: 0.8419 MB / 4.876 GB, free: 407.2 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.834/17.28, allocations: 4.771 GB / 9.647 GB, free: 241.4 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004255/17.28, allocations: 4.646 MB / 9.652 GB, free: 236.8 MB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.006755/17.29, allocations: 3.018 MB / 9.655 GB, free: 233.9 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006855/17.3, allocations: 4.023 MB / 9.658 GB, free: 229.8 MB / 1.529 GB Notification: Performance of SimCode: time 1.422e-06/17.3, allocations: 0 / 9.658 GB, free: 229.8 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.513/18.81, allocations: 0.7661 GB / 10.42 GB, free: 95.1 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.99/56.8, allocations: 15.88 kB / 10.42 GB, free: 95.08 MB / 1.545 GB " [Timeout remaining time 243] (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.38335191784427]