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.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.001651/0.001651, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002252/0.002252, allocations: 216 kB / 22.25 MB, free: 5.117 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.7 MB / 0.7707 GB, free: 4.355 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002044/0.002044, allocations: 70.97 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3032, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01225/0.3155, allocations: 8.65 MB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2331/0.5486, allocations: 163 MB / 1.451 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.5501, allocations: 51.56 kB / 1.451 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0056/0.5557, allocations: 2.202 MB / 1.453 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.5597, allocations: 1.29 MB / 1.454 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.5636, allocations: 1.548 MB / 1.456 GB, free: 10.44 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006909/0.5705, allocations: 5.777 MB / 1.462 GB, free: 4.641 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.5721, allocations: 0.8183 MB / 1.462 GB, free: 3.777 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.5752, allocations: 1.753 MB / 1.464 GB, free: 2.02 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.578, allocations: 1.693 MB / 1.466 GB, free: 328 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006054/0.5786, allocations: 296 kB / 1.466 GB, free: 32 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005553/0.5842, allocations: 3.117 MB / 1.469 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.004719/0.5889, allocations: 4.862 MB / 1.474 GB, free: 8.039 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.006996/0.5959, allocations: 4.868 MB / 1.479 GB, free: 3.148 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.02188/0.6177, allocations: 18 MB / 1.496 GB, free: 1.094 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6178, allocations: 4 kB / 1.496 GB, free: 1.09 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.063e-06/0.6178, allocations: 0 / 1.496 GB, free: 1.09 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0004208/0.6182, allocations: 0 / 1.496 GB, free: 1.09 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.03818/0.6564, allocations: 14.37 MB / 1.51 GB, free: 2.602 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6564, allocations: 12.03 kB / 1.51 GB, free: 2.59 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000613/0.657, allocations: 236.9 kB / 1.51 GB, free: 2.348 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006846/0.6639, allocations: 1.042 MB / 1.511 GB, free: 1.301 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.256/2.92, allocations: 0.9949 GB / 2.506 GB, free: 288.3 MB / 1.576 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/2.92, allocations: 171.1 kB / 2.507 GB, free: 288.1 MB / 1.576 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006381/2.921, allocations: 232 kB / 2.507 GB, free: 287.9 MB / 1.576 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/2.925, allocations: 2.373 MB / 2.509 GB, free: 285.5 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/2.925, allocations: 0 / 2.509 GB, free: 285.5 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/2.925, allocations: 71.98 kB / 2.509 GB, free: 285.4 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/2.925, allocations: 36 kB / 2.509 GB, free: 285.4 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/2.928, allocations: 2.467 MB / 2.512 GB, free: 282.9 MB / 1.576 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.1575/3.086, allocations: 243 MB / 2.749 GB, free: 39.62 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/3.089, allocations: 1.669 MB / 2.751 GB, free: 37.95 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/3.09, allocations: 0.9904 MB / 2.751 GB, free: 36.95 MB / 1.576 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/3.09, allocations: 37.09 kB / 2.752 GB, free: 36.92 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/3.092, allocations: 1.357 MB / 2.753 GB, free: 35.54 MB / 1.576 GB Notification: Performance of pre-optimization done (n=138): time 3.848e-06/3.092, allocations: 4 kB / 2.753 GB, free: 35.54 MB / 1.576 GB Notification: Performance of matching and sorting (n=138): time 0.01116/3.103, allocations: 4.289 MB / 2.757 GB, free: 31.23 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/3.103, allocations: 362.5 kB / 2.757 GB, free: 30.83 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.726/5.829, allocations: 1.182 GB / 3.94 GB, free: 72.05 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0005724/5.829, allocations: 85.7 kB / 3.94 GB, free: 71.96 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.004833/5.834, allocations: 3.767 MB / 3.944 GB, free: 68.46 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/5.834, allocations: 480.1 kB / 3.944 GB, free: 68.3 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007387/5.835, allocations: 0.6712 MB / 3.945 GB, free: 67.63 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 3.682e-05/5.835, allocations: 305.8 kB / 3.945 GB, free: 67.33 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/5.837, allocations: 1.921 MB / 3.947 GB, free: 65.41 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/5.84, allocations: 2.888 MB / 3.95 GB, free: 62.15 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/5.844, allocations: 4.614 MB / 3.954 GB, free: 57.21 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/5.844, allocations: 8 kB / 3.954 GB, free: 57.2 MB / 1.592 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01089/5.855, allocations: 6.026 MB / 3.96 GB, free: 51.46 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/5.855, allocations: 201.6 kB / 3.96 GB, free: 51.26 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/5.855, allocations: 32 kB / 3.96 GB, free: 51.23 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/5.856, allocations: 121.6 kB / 3.96 GB, free: 51.11 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/5.858, allocations: 0.6161 MB / 3.961 GB, free: 50.49 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/5.86, allocations: 1.589 MB / 3.963 GB, free: 48.78 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006546/5.866, allocations: 1.185 MB / 3.964 GB, free: 47.73 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005084/5.867, allocations: 140 kB / 3.964 GB, free: 47.6 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.00546/5.872, allocations: 3.85 MB / 3.968 GB, free: 43.76 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004479/5.877, allocations: 0.8029 MB / 3.968 GB, free: 42.95 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006772/5.883, allocations: 4.371 MB / 3.973 GB, free: 38.57 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/5.883, allocations: 12 kB / 3.973 GB, free: 38.56 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/5.883, allocations: 0 / 3.973 GB, free: 38.56 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/5.883, allocations: 3.984 kB / 3.973 GB, free: 38.56 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/5.895, allocations: 6.762 MB / 3.979 GB, free: 31.79 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/5.895, allocations: 0 / 3.979 GB, free: 31.79 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/5.896, allocations: 215.6 kB / 3.979 GB, free: 31.57 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/5.897, allocations: 73.3 kB / 3.98 GB, free: 31.5 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/5.897, allocations: 42.92 kB / 3.98 GB, free: 31.46 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/5.899, allocations: 1.557 MB / 3.981 GB, free: 29.79 MB / 1.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/5.899, allocations: 32 / 3.981 GB, free: 29.79 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00902/5.908, allocations: 3.927 MB / 3.985 GB, free: 25.82 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008153/5.916, allocations: 3.104 MB / 3.988 GB, free: 22.73 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003882/5.92, allocations: 31.94 kB / 3.988 GB, free: 22.7 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006124/5.926, allocations: 0.7511 MB / 3.989 GB, free: 21.95 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/5.926, allocations: 110 kB / 3.989 GB, free: 21.84 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002797/5.926, allocations: 67.95 kB / 3.989 GB, free: 21.78 MB / 1.592 GB Notification: Performance of sorting global known variables: time 2.061/7.988, allocations: 0.9475 GB / 4.936 GB, free: 282.8 MB / 1.592 GB Notification: Performance of sort global known variables: time 3.5e-07/7.988, allocations: 0 / 4.936 GB, free: 282.8 MB / 1.592 GB Notification: Performance of remove unused functions: time 0.008105/7.996, allocations: 1.901 MB / 4.938 GB, free: 281.1 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.01366/8.009, allocations: 5.432 MB / 4.944 GB, free: 276.5 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.006077/8.015, allocations: 4.378 MB / 4.948 GB, free: 272.1 MB / 1.592 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/8.015, allocations: 4 kB / 4.948 GB, free: 272.1 MB / 1.592 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/8.018, allocations: 1.874 MB / 4.95 GB, free: 270.2 MB / 1.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01094/8.029, allocations: 0.8454 MB / 4.95 GB, free: 269.4 MB / 1.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.085/17.11, allocations: 4.771 GB / 9.722 GB, free: 411 MB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004144/17.12, allocations: 4.656 MB / 9.726 GB, free: 406.3 MB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.006538/17.12, allocations: 3.007 MB / 9.729 GB, free: 403.4 MB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007805/17.13, allocations: 4.038 MB / 9.733 GB, free: 399.4 MB / 1.623 GB Notification: Performance of SimCode: time 1.482e-06/17.13, allocations: 0 / 9.733 GB, free: 399.4 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.584/18.72, allocations: 0.7673 GB / 10.5 GB, free: 301.4 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.68/58.39, allocations: 3.984 kB / 10.5 GB, free: 301.4 MB / 1.639 GB " [Timeout remaining time 241] (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/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: 66.68865445791744]