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.001358/0.001358, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002206/0.002206, allocations: 215 kB / 22.25 MB, free: 5.262 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.789 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.769/2.769, allocations: 476 MB / 0.7699 GB, free: 4.738 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.002089/0.002089, allocations: 69.38 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3433, allocations: 169.9 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01525/0.3586, allocations: 7.555 MB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2113/0.5699, allocations: 140.7 MB / 1.427 GB, free: 7.695 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.5719, allocations: 55.56 kB / 1.427 GB, free: 7.641 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005871/0.5778, allocations: 2.097 MB / 1.429 GB, free: 5.535 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.5816, allocations: 1.292 MB / 1.431 GB, free: 4.242 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.5858, allocations: 1.506 MB / 1.432 GB, free: 2.742 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00718/0.5929, allocations: 5.691 MB / 1.438 GB, free: 13.03 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.595, allocations: 0.7831 MB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.5985, allocations: 1.769 MB / 1.44 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003325/0.6019, allocations: 1.588 MB / 1.442 GB, free: 8.836 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009243/0.6028, allocations: 292 kB / 1.442 GB, free: 8.551 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005837/0.6086, allocations: 2.828 MB / 1.445 GB, free: 5.719 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005127/0.6138, allocations: 4.85 MB / 1.45 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.007412/0.6212, allocations: 3.924 MB / 1.453 GB, free: 12.91 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02218/0.6433, allocations: 18.06 MB / 1.471 GB, free: 10.8 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6434, allocations: 0 / 1.471 GB, free: 10.8 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6434, allocations: 0 / 1.471 GB, free: 10.8 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003847/0.6437, allocations: 0 / 1.471 GB, free: 10.8 MB / 1.17 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.04298/0.6867, allocations: 14.66 MB / 1.485 GB, free: 12.03 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6868, allocations: 12.03 kB / 1.485 GB, free: 12.02 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000812/0.6876, allocations: 244.9 kB / 1.486 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007626/0.6952, allocations: 1.038 MB / 1.487 GB, free: 10.72 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.121/2.816, allocations: 0.995 GB / 2.482 GB, free: 316.5 MB / 1.576 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/2.816, allocations: 175.1 kB / 2.482 GB, free: 316.3 MB / 1.576 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/2.817, allocations: 232 kB / 2.482 GB, free: 316.1 MB / 1.576 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/2.82, allocations: 2.781 MB / 2.485 GB, free: 313.1 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/2.82, allocations: 0 / 2.485 GB, free: 313.1 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/2.82, allocations: 64 kB / 2.485 GB, free: 313 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/2.82, allocations: 43.94 kB / 2.485 GB, free: 313 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/2.823, allocations: 2.34 MB / 2.487 GB, free: 310.6 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.124/2.947, allocations: 240.8 MB / 2.722 GB, free: 69.68 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/2.949, allocations: 1.589 MB / 2.724 GB, free: 68.09 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/2.95, allocations: 0.9196 MB / 2.725 GB, free: 67.16 MB / 1.576 GB Notification: Performance of preOpt evalFunc (simulation): time 8.051e-05/2.951, allocations: 28.97 kB / 2.725 GB, free: 67.13 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/2.952, allocations: 1.583 MB / 2.726 GB, free: 65.45 MB / 1.576 GB Notification: Performance of pre-optimization done (n=138): time 2.825e-06/2.952, allocations: 0 / 2.726 GB, free: 65.45 MB / 1.576 GB Notification: Performance of matching and sorting (n=138): time 0.01008/2.962, allocations: 3.909 MB / 2.73 GB, free: 61.51 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/2.962, allocations: 338.5 kB / 2.73 GB, free: 61.13 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.755/5.718, allocations: 1.182 GB / 3.913 GB, free: 105.2 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0005745/5.718, allocations: 85.45 kB / 3.913 GB, free: 105.1 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.006349/5.725, allocations: 3.764 MB / 3.917 GB, free: 101.6 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006967/5.725, allocations: 477.1 kB / 3.917 GB, free: 101.4 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/5.727, allocations: 0.679 MB / 3.918 GB, free: 100.7 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/5.727, allocations: 304.7 kB / 3.918 GB, free: 100.4 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/5.73, allocations: 1.854 MB / 3.92 GB, free: 98.59 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/5.733, allocations: 2.931 MB / 3.923 GB, free: 95.22 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/5.738, allocations: 4.134 MB / 3.927 GB, free: 90.74 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.126e-05/5.738, allocations: 8 kB / 3.927 GB, free: 90.73 MB / 1.592 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01228/5.75, allocations: 5.709 MB / 3.932 GB, free: 85.28 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/5.75, allocations: 177.6 kB / 3.932 GB, free: 85.1 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.387e-05/5.75, allocations: 28 kB / 3.932 GB, free: 85.07 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006713/5.751, allocations: 124.6 kB / 3.933 GB, free: 84.95 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/5.753, allocations: 0.6122 MB / 3.933 GB, free: 84.34 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/5.755, allocations: 1.576 MB / 3.935 GB, free: 82.64 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007105/5.762, allocations: 1.192 MB / 3.936 GB, free: 81.48 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005014/5.762, allocations: 144 kB / 3.936 GB, free: 81.34 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.005718/5.768, allocations: 3.821 MB / 3.94 GB, free: 77.51 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005754/5.774, allocations: 0.7953 MB / 3.94 GB, free: 76.71 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007671/5.782, allocations: 3.89 MB / 3.944 GB, free: 72.8 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/5.782, allocations: 12 kB / 3.944 GB, free: 72.79 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/5.782, allocations: 0 / 3.944 GB, free: 72.79 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/5.782, allocations: 3.984 kB / 3.944 GB, free: 72.79 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/5.795, allocations: 5.038 MB / 3.949 GB, free: 67.72 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/5.795, allocations: 0 / 3.949 GB, free: 67.72 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/5.796, allocations: 211.6 kB / 3.949 GB, free: 67.51 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/5.797, allocations: 76.78 kB / 3.949 GB, free: 67.43 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/5.797, allocations: 42.55 kB / 3.95 GB, free: 67.39 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/5.799, allocations: 1.554 MB / 3.951 GB, free: 65.72 MB / 1.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/5.799, allocations: 0 / 3.951 GB, free: 65.72 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009249/5.808, allocations: 3.436 MB / 3.954 GB, free: 62.24 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009607/5.818, allocations: 3.425 MB / 3.958 GB, free: 58.81 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003994/5.822, allocations: 31.94 kB / 3.958 GB, free: 58.78 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006107/5.828, allocations: 0.7516 MB / 3.959 GB, free: 58.03 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003645/5.828, allocations: 110.8 kB / 3.959 GB, free: 57.92 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/5.828, allocations: 71.02 kB / 3.959 GB, free: 57.85 MB / 1.592 GB Notification: Performance of sorting global known variables: time 2.118/7.946, allocations: 0.9475 GB / 4.906 GB, free: 321.6 MB / 1.592 GB Notification: Performance of sort global known variables: time 2.51e-07/7.946, allocations: 0.5 kB / 4.906 GB, free: 321.6 MB / 1.592 GB Notification: Performance of remove unused functions: time 0.007959/7.954, allocations: 1.902 MB / 4.908 GB, free: 319.9 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.01265/7.967, allocations: 4.981 MB / 4.913 GB, free: 315.8 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.006124/7.973, allocations: 4.067 MB / 4.917 GB, free: 311.7 MB / 1.592 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/7.973, allocations: 0 / 4.917 GB, free: 311.7 MB / 1.592 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/7.975, allocations: 1.612 MB / 4.918 GB, free: 310 MB / 1.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01206/7.987, allocations: 0.8422 MB / 4.919 GB, free: 309.2 MB / 1.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.868/16.85, allocations: 4.77 GB / 9.69 GB, free: 467.8 MB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007054/16.86, allocations: 4.165 MB / 9.694 GB, free: 463.7 MB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.007491/16.87, allocations: 3.015 MB / 9.697 GB, free: 460.7 MB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007545/16.88, allocations: 4.041 MB / 9.701 GB, free: 456.7 MB / 1.623 GB Notification: Performance of SimCode: time 1.172e-06/16.88, allocations: 0 / 9.701 GB, free: 456.7 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.635/18.51, allocations: 0.7765 GB / 10.48 GB, free: 353.5 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.53/52.04, allocations: 15.91 kB / 10.48 GB, free: 353.5 MB / 1.639 GB " [Timeout remaining time 247] (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: 60.224418957252055]