Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001242/0.001242, allocations: 102.6 kB / 16.4 MB, free: 6.496 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.001319/0.001319, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.381/1.381, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.043/3.043, allocations: 489 MB / 0.7678 GB, free: 29.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 1.101 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9048, allocations: 163.8 MB / 1.261 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01085/0.9157, allocations: 8.543 MB / 1.269 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2019/1.118, allocations: 159.4 MB / 1.425 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/1.12, allocations: 39.81 kB / 1.425 GB, free: 14.44 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005969/1.126, allocations: 1.994 MB / 1.427 GB, free: 12.44 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003851/1.13, allocations: 1.25 MB / 1.428 GB, free: 11.19 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/1.134, allocations: 1.452 MB / 1.43 GB, free: 9.742 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00685/1.14, allocations: 5.434 MB / 1.435 GB, free: 4.293 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/1.143, allocations: 1.22 MB / 1.436 GB, free: 3.02 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/1.146, allocations: 1.73 MB / 1.438 GB, free: 1.285 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/1.149, allocations: 1.557 MB / 1.439 GB, free: 15.72 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006764/1.15, allocations: 288 kB / 1.44 GB, free: 15.44 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005121/1.155, allocations: 2.575 MB / 1.442 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.004916/1.16, allocations: 4.772 MB / 1.447 GB, free: 8.082 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.008531/1.168, allocations: 4.876 MB / 1.452 GB, free: 3.184 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02521/1.193, allocations: 17.9 MB / 1.469 GB, free: 1.23 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.194, allocations: 0 / 1.469 GB, free: 1.23 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.587e-06/1.194, allocations: 0 / 1.469 GB, free: 1.23 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0005856/1.194, allocations: 0 / 1.469 GB, free: 1.23 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.04669/1.241, allocations: 14.43 MB / 1.483 GB, free: 2.676 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.873e-05/1.241, allocations: 12.03 kB / 1.483 GB, free: 2.664 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/1.242, allocations: 240.9 kB / 1.483 GB, free: 2.418 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009504/1.252, allocations: 0.9597 MB / 1.484 GB, free: 1.453 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.003/3.255, allocations: 0.9948 GB / 2.479 GB, free: 294.6 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/3.255, allocations: 171.1 kB / 2.479 GB, free: 294.5 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007128/3.256, allocations: 236 kB / 2.48 GB, free: 294.2 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/3.26, allocations: 2.38 MB / 2.482 GB, free: 291.8 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/3.26, allocations: 0 / 2.482 GB, free: 291.8 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/3.261, allocations: 72 kB / 2.482 GB, free: 291.7 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/3.261, allocations: 36 kB / 2.482 GB, free: 291.7 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/3.264, allocations: 2.471 MB / 2.484 GB, free: 289.2 MB / 1.561 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1248/3.389, allocations: 243.2 MB / 2.722 GB, free: 45.75 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/3.392, allocations: 1.992 MB / 2.724 GB, free: 43.75 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/3.393, allocations: 1.277 MB / 2.725 GB, free: 42.47 MB / 1.561 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-05/3.393, allocations: 36.94 kB / 2.725 GB, free: 42.43 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/3.395, allocations: 1.354 MB / 2.726 GB, free: 41.06 MB / 1.561 GB Notification: Performance of pre-optimization done (n=138): time 3.807e-06/3.395, allocations: 0 / 2.726 GB, free: 41.06 MB / 1.561 GB Notification: Performance of matching and sorting (n=138): time 0.01007/3.405, allocations: 4.36 MB / 2.731 GB, free: 36.66 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/3.405, allocations: 362.5 kB / 2.731 GB, free: 36.26 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.596/6.001, allocations: 1.182 GB / 3.913 GB, free: 68.73 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.0006152/6.002, allocations: 81.7 kB / 3.914 GB, free: 68.65 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.006151/6.008, allocations: 3.765 MB / 3.917 GB, free: 65.16 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005873/6.009, allocations: 482 kB / 3.918 GB, free: 65 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001614/6.01, allocations: 0.6723 MB / 3.918 GB, free: 64.33 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/6.01, allocations: 305.1 kB / 3.919 GB, free: 64.03 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/6.013, allocations: 1.923 MB / 3.92 GB, free: 62.1 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/6.016, allocations: 2.878 MB / 3.923 GB, free: 58.86 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005153/6.021, allocations: 4.618 MB / 3.928 GB, free: 53.89 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.362e-05/6.021, allocations: 8 kB / 3.928 GB, free: 53.88 MB / 1.576 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01364/6.035, allocations: 6.024 MB / 3.934 GB, free: 48.11 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/6.035, allocations: 205.6 kB / 3.934 GB, free: 47.9 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.228e-05/6.035, allocations: 28 kB / 3.934 GB, free: 47.87 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006701/6.036, allocations: 125.9 kB / 3.934 GB, free: 47.75 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/6.038, allocations: 0.6122 MB / 3.935 GB, free: 47.13 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/6.04, allocations: 1.697 MB / 3.936 GB, free: 45.3 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007607/6.048, allocations: 1.181 MB / 3.937 GB, free: 44.16 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006777/6.048, allocations: 140 kB / 3.938 GB, free: 44.03 MB / 1.576 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.005582/6.054, allocations: 3.85 MB / 3.941 GB, free: 40.16 MB / 1.576 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00467/6.059, allocations: 0.8028 MB / 3.942 GB, free: 39.36 MB / 1.576 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007637/6.066, allocations: 4.349 MB / 3.946 GB, free: 34.99 MB / 1.576 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/6.066, allocations: 13.64 kB / 3.946 GB, free: 34.98 MB / 1.576 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/6.066, allocations: 0 / 3.946 GB, free: 34.98 MB / 1.576 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/6.066, allocations: 11.98 kB / 3.946 GB, free: 34.96 MB / 1.576 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/6.08, allocations: 6.782 MB / 3.953 GB, free: 28.14 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/6.081, allocations: 0 / 3.953 GB, free: 28.14 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/6.082, allocations: 207.7 kB / 3.953 GB, free: 27.94 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/6.082, allocations: 76.72 kB / 3.953 GB, free: 27.86 MB / 1.576 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000315/6.082, allocations: 43.97 kB / 3.953 GB, free: 27.82 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/6.084, allocations: 1.653 MB / 3.955 GB, free: 26.02 MB / 1.576 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/6.084, allocations: 3.984 kB / 3.955 GB, free: 26.02 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/6.096, allocations: 3.915 MB / 3.959 GB, free: 22.07 MB / 1.576 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007001/6.103, allocations: 3.172 MB / 3.962 GB, free: 18.88 MB / 1.576 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003747/6.106, allocations: 35.94 kB / 3.962 GB, free: 18.84 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005576/6.112, allocations: 0.7538 MB / 3.963 GB, free: 18.09 MB / 1.576 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/6.112, allocations: 101.2 kB / 3.963 GB, free: 17.98 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/6.113, allocations: 63.97 kB / 3.963 GB, free: 17.92 MB / 1.576 GB Notification: Performance of sorting global known variables: time 1.908/8.021, allocations: 0.9475 GB / 4.91 GB, free: 270.3 MB / 1.576 GB Notification: Performance of sort global known variables: time 7.61e-07/8.021, allocations: 0 / 4.91 GB, free: 270.3 MB / 1.576 GB Notification: Performance of remove unused functions: time 0.008535/8.029, allocations: 1.892 MB / 4.912 GB, free: 268.6 MB / 1.576 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.01448/8.044, allocations: 5.404 MB / 4.917 GB, free: 264 MB / 1.576 GB Notification: Performance of simCode: created initialization part: time 0.006327/8.05, allocations: 5.719 MB / 4.923 GB, free: 258.3 MB / 1.576 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/8.05, allocations: 11.62 kB / 4.923 GB, free: 258.3 MB / 1.576 GB Notification: Performance of simCode: created simulation system equations: time 0.002441/8.053, allocations: 2.719 MB / 4.926 GB, free: 255.6 MB / 1.576 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/8.063, allocations: 0.8395 MB / 4.926 GB, free: 254.7 MB / 1.576 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.706/16.77, allocations: 4.771 GB / 9.698 GB, free: 310 MB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006054/16.78, allocations: 4.652 MB / 9.702 GB, free: 305.3 MB / 1.592 GB Notification: Performance of simCode: alias equations: time 0.007031/16.78, allocations: 3.018 MB / 9.705 GB, free: 302.4 MB / 1.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007421/16.79, allocations: 4.033 MB / 9.709 GB, free: 298.3 MB / 1.592 GB Notification: Performance of SimCode: time 8.72e-07/16.79, allocations: 0 / 9.709 GB, free: 298.3 MB / 1.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.18/19.97, allocations: 0.713 GB / 10.42 GB, free: 270.6 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.22/57.19, allocations: 16.78 kB / 10.42 GB, free: 270.5 MB / 1.623 GB " [Timeout remaining time 243] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.61350958584808]