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.001563/0.001563, allocations: 107.6 kB / 16.45 MB, free: 6.504 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.001775/0.001775, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.437/1.437, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.786/2.786, allocations: 476.7 MB / 0.7611 GB, free: 11.3 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.0024/0.0024, allocations: 67.89 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.8891, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01107/0.9002, allocations: 8.56 MB / 1.277 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2023/1.102, allocations: 159.9 MB / 1.433 GB, free: 12.04 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/1.105, allocations: 35.81 kB / 1.433 GB, free: 12 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00656/1.111, allocations: 2.027 MB / 1.435 GB, free: 9.965 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004973/1.116, allocations: 1.272 MB / 1.437 GB, free: 8.691 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004551/1.121, allocations: 1.445 MB / 1.438 GB, free: 7.25 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008133/1.129, allocations: 5.401 MB / 1.443 GB, free: 1.84 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/1.131, allocations: 0.8683 MB / 1.444 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/1.135, allocations: 1.726 MB / 1.446 GB, free: 15.19 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/1.139, allocations: 1.67 MB / 1.447 GB, free: 13.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001297/1.14, allocations: 292 kB / 1.448 GB, free: 13.23 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006101/1.146, allocations: 2.657 MB / 1.45 GB, free: 10.57 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.005504/1.152, allocations: 4.854 MB / 1.455 GB, free: 5.707 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0084/1.16, allocations: 4.864 MB / 1.46 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02581/1.186, allocations: 17.9 MB / 1.477 GB, free: 14.87 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.186, allocations: 4 kB / 1.477 GB, free: 14.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.355e-06/1.186, allocations: 7.875 kB / 1.477 GB, free: 14.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000443/1.186, allocations: 0 / 1.477 GB, free: 14.86 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.04269/1.229, allocations: 14.42 MB / 1.491 GB, free: 308 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/1.229, allocations: 8.031 kB / 1.491 GB, free: 300 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007246/1.23, allocations: 240.9 kB / 1.492 GB, free: 48 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007269/1.237, allocations: 0.9689 MB / 1.493 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.221/3.458, allocations: 0.9948 GB / 2.487 GB, free: 284.9 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/3.458, allocations: 175.1 kB / 2.488 GB, free: 284.7 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006569/3.459, allocations: 236 kB / 2.488 GB, free: 284.5 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004486/3.463, allocations: 2.369 MB / 2.49 GB, free: 282.1 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/3.463, allocations: 7.938 kB / 2.49 GB, free: 282.1 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/3.464, allocations: 68 kB / 2.49 GB, free: 282 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/3.464, allocations: 44 kB / 2.49 GB, free: 281.9 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/3.467, allocations: 2.455 MB / 2.493 GB, free: 279.5 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.1328/3.6, allocations: 243.1 MB / 2.73 GB, free: 36.12 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/3.603, allocations: 1.663 MB / 2.732 GB, free: 34.45 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/3.605, allocations: 0.9845 MB / 2.733 GB, free: 33.47 MB / 1.561 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/3.605, allocations: 41.08 kB / 2.733 GB, free: 33.43 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/3.607, allocations: 1.358 MB / 2.734 GB, free: 32.05 MB / 1.561 GB Notification: Performance of pre-optimization done (n=138): time 5.4e-06/3.607, allocations: 0.5156 kB / 2.734 GB, free: 32.05 MB / 1.561 GB Notification: Performance of matching and sorting (n=138): time 0.01139/3.618, allocations: 4.352 MB / 2.738 GB, free: 27.66 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/3.618, allocations: 366.5 kB / 2.739 GB, free: 27.25 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.752/6.37, allocations: 1.182 GB / 3.921 GB, free: 98.76 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0005474/6.37, allocations: 81.7 kB / 3.921 GB, free: 98.67 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.005068/6.375, allocations: 3.761 MB / 3.925 GB, free: 95.19 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005327/6.376, allocations: 478.5 kB / 3.925 GB, free: 95.03 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008818/6.377, allocations: 0.678 MB / 3.926 GB, free: 94.35 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 4.168e-05/6.377, allocations: 301.1 kB / 3.926 GB, free: 94.05 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/6.379, allocations: 1.935 MB / 3.928 GB, free: 92.12 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/6.381, allocations: 2.871 MB / 3.931 GB, free: 88.88 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/6.386, allocations: 4.618 MB / 3.935 GB, free: 83.91 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/6.386, allocations: 9.531 kB / 3.935 GB, free: 83.91 MB / 1.592 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01125/6.397, allocations: 6.023 MB / 3.941 GB, free: 78.16 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/6.397, allocations: 212 kB / 3.941 GB, free: 77.95 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/6.397, allocations: 31.98 kB / 3.941 GB, free: 77.91 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/6.398, allocations: 113.4 kB / 3.941 GB, free: 77.8 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/6.4, allocations: 0.6239 MB / 3.942 GB, free: 77.18 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/6.402, allocations: 1.689 MB / 3.944 GB, free: 75.35 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/6.409, allocations: 1.178 MB / 3.945 GB, free: 74.31 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000608/6.409, allocations: 144 kB / 3.945 GB, free: 74.17 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.005259/6.415, allocations: 3.845 MB / 3.949 GB, free: 70.33 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004653/6.419, allocations: 0.7992 MB / 3.95 GB, free: 69.52 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006639/6.426, allocations: 4.373 MB / 3.954 GB, free: 65.15 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/6.426, allocations: 12 kB / 3.954 GB, free: 65.14 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/6.426, allocations: 0 / 3.954 GB, free: 65.14 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/6.426, allocations: 5.734 kB / 3.954 GB, free: 65.13 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/6.437, allocations: 6.782 MB / 3.96 GB, free: 58.33 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/6.437, allocations: 7.734 kB / 3.96 GB, free: 58.33 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/6.438, allocations: 207.6 kB / 3.961 GB, free: 58.12 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/6.439, allocations: 78.75 kB / 3.961 GB, free: 58.05 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/6.439, allocations: 39.97 kB / 3.961 GB, free: 58.01 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/6.44, allocations: 1.667 MB / 3.962 GB, free: 56.2 MB / 1.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/6.44, allocations: 4.062 kB / 3.962 GB, free: 56.19 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008361/6.449, allocations: 3.915 MB / 3.966 GB, free: 52.24 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007196/6.456, allocations: 3.177 MB / 3.969 GB, free: 49.06 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003053/6.459, allocations: 42.22 kB / 3.969 GB, free: 49.02 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005226/6.464, allocations: 0.7578 MB / 3.97 GB, free: 48.26 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/6.464, allocations: 101.2 kB / 3.97 GB, free: 48.16 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/6.464, allocations: 67.97 kB / 3.97 GB, free: 48.09 MB / 1.592 GB Notification: Performance of sorting global known variables: time 1.915/8.379, allocations: 0.9475 GB / 4.918 GB, free: 322.6 MB / 1.592 GB Notification: Performance of sort global known variables: time 4.11e-07/8.379, allocations: 0 / 4.918 GB, free: 322.6 MB / 1.592 GB Notification: Performance of remove unused functions: time 0.008228/8.387, allocations: 1.891 MB / 4.92 GB, free: 320.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.01264/8.4, allocations: 5.418 MB / 4.925 GB, free: 316.3 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.005803/8.406, allocations: 4.382 MB / 4.929 GB, free: 311.9 MB / 1.592 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/8.406, allocations: 0 / 4.929 GB, free: 311.9 MB / 1.592 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/8.408, allocations: 1.878 MB / 4.931 GB, free: 310 MB / 1.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009777/8.418, allocations: 0.855 MB / 4.932 GB, free: 309.2 MB / 1.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.384/17.8, allocations: 4.771 GB / 9.703 GB, free: 438.5 MB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006571/17.81, allocations: 4.647 MB / 9.707 GB, free: 433.9 MB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.01014/17.82, allocations: 3.006 MB / 9.71 GB, free: 430.9 MB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01053/17.83, allocations: 4.035 MB / 9.714 GB, free: 426.9 MB / 1.607 GB Notification: Performance of SimCode: time 1.002e-06/17.83, allocations: 0 / 9.714 GB, free: 426.9 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.562/19.39, allocations: 0.766 GB / 10.48 GB, free: 353.8 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.15/57.54, allocations: 15.59 kB / 10.48 GB, free: 353.8 MB / 1.639 GB " [Timeout remaining time 242] (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: 65.20611499296501]