Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.001564/0.001564, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001272/0.001272, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.9235/0.9235, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.771/1.771, allocations: 377.9 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.527e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00124/0.001256, allocations: 0.7003 MB / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.00213, allocations: 0.882 MB / 0.9825 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.002173, allocations: 0 / 0.9825 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.0022, allocations: 3.938 kB / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.229e-05/0.002283, allocations: 15.86 kB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.00248, allocations: 15.98 kB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.6e-05/0.002566, allocations: 63.77 kB / 0.9825 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.002667, allocations: 12 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.002809, allocations: 51.83 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.002869, allocations: 19.91 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.002888, allocations: 12 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.002928, allocations: 11.94 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.00294, allocations: 4 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.002966, allocations: 27.91 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.003095, allocations: 71.77 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003096, allocations: 0 / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003097, allocations: 0 / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003101, allocations: 0 / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003651/0.003466, allocations: 294.1 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.003503, allocations: 8.031 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.003531, allocations: 34.75 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.003635, allocations: 20.88 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.003801, allocations: 141.7 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.003814, allocations: 4.375 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.003826, allocations: 4.375 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.003926, allocations: 58.22 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003933, allocations: 192 / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.003941, allocations: 384 / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.003947, allocations: 8.125 kB / 0.9833 GB, free: 100 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.004008, allocations: 31.98 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.004325, allocations: 255.9 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.004504, allocations: 74.45 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.004534, allocations: 16.92 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.004549, allocations: 0 / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.004564, allocations: 30.56 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.004564, allocations: 7.938 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001711/0.004736, allocations: 73.69 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.004764, allocations: 55.41 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.004829, allocations: 129.7 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.00484, allocations: 29.7 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.004886, allocations: 96.16 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.0049, allocations: 11.94 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.004933, allocations: 13.72 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.005008, allocations: 318.8 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.005036, allocations: 16 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.005086, allocations: 55.41 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.005138, allocations: 32.84 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005139, allocations: 3.938 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.827e-05/0.005217, allocations: 69.56 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.005228, allocations: 4 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.005232, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005244, allocations: 4 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.813e-05/0.005272, allocations: 7.984 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.005276, allocations: 4.031 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.005302, allocations: 4 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.005308, allocations: 4 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaT.hys.y,$PRE.shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.005366, allocations: 113.8 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.00538, allocations: 11.89 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.0054, allocations: 12 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.005401, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.005405, allocations: 336 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005408, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.005516, allocations: 144.7 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005516, allocations: 4 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.005531, allocations: 7.938 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005532, allocations: 3.984 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.005538, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.005539, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005539, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.688e-05/0.005636, allocations: 155.5 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.005646, allocations: 15.94 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.005657, allocations: 0 / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.825e-05/0.005695, allocations: 11.94 kB / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.005731, allocations: 11.98 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.005734, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.505e-05/0.005769, allocations: 95.27 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005769, allocations: 0 / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001664/0.005935, allocations: 15.88 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002845/0.00622, allocations: 0.6967 MB / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.006325, allocations: 23.98 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006327, allocations: 8 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.786e-05/0.006354, allocations: 19.92 kB / 0.9859 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.006544, allocations: 8 kB / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.007403, allocations: 1.319 MB / 0.9872 GB, free: 11.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.00745, allocations: 67.59 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.007481, allocations: 8 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.007524, allocations: 24.48 kB / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.007524, allocations: 0 / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.02207, allocations: 2.456 MB / 0.9897 GB, free: 9.363 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/6.698, allocations: 6.422 kB / 0.9897 GB, free: 9.359 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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: 10.807748236693442]