Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.00135/0.00135, allocations: 103 kB / 16.45 MB, free: 6.445 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.001426/0.001426, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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 2.944/2.944, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.89 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9403/0.9424, allocations: 173.9 MB / 1.304 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00172/0.9442, allocations: 0.707 MB / 1.305 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.9448, allocations: 0.854 MB / 1.305 GB, free: 30.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.9449, allocations: 0 / 1.305 GB, free: 30.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.9449, allocations: 7.875 kB / 1.305 GB, free: 30.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.945, allocations: 10.77 kB / 1.305 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.9451, allocations: 21.02 kB / 1.305 GB, free: 30.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.9452, allocations: 57.28 kB / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.9453, allocations: 20.88 kB / 1.306 GB, free: 30.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.9454, allocations: 26.23 kB / 1.306 GB, free: 30.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.9454, allocations: 27.36 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.9454, allocations: 9.125 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.9454, allocations: 5.031 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.9455, allocations: 18.19 kB / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.9455, allocations: 28.88 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.815e-05/0.9456, allocations: 60.16 kB / 1.306 GB, free: 30.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.9456, allocations: 0 / 1.306 GB, free: 30.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9456, allocations: 0 / 1.306 GB, free: 30.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.9456, allocations: 0 / 1.306 GB, free: 30.69 MB / 1.061 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.0003643/0.9459, allocations: 371.7 kB / 1.306 GB, free: 30.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.946, allocations: 14.5 kB / 1.306 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.946, allocations: 30.75 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.946, allocations: 7.672 kB / 1.306 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.9462, allocations: 189.4 kB / 1.306 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.9462, allocations: 7.188 kB / 1.306 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.9463, allocations: 10.39 kB / 1.306 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.9464, allocations: 59.03 kB / 1.306 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9464, allocations: 3.938 kB / 1.306 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.9464, allocations: 0 / 1.306 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.9464, allocations: 6.75 kB / 1.306 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/0.9465, allocations: 31.2 kB / 1.306 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.9468, allocations: 300.2 kB / 1.307 GB, free: 29.69 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.947, allocations: 65.7 kB / 1.307 GB, free: 29.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.9471, allocations: 17.92 kB / 1.307 GB, free: 29.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.9471, allocations: 0 / 1.307 GB, free: 29.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.9471, allocations: 37.53 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.9471, allocations: 0 / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002123/0.9473, allocations: 70.16 kB / 1.307 GB, free: 29.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.9473, allocations: 55.41 kB / 1.307 GB, free: 29.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.9474, allocations: 129.6 kB / 1.307 GB, free: 29.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.9474, allocations: 25.7 kB / 1.307 GB, free: 29.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.9474, allocations: 95.05 kB / 1.307 GB, free: 29.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.9475, allocations: 10.06 kB / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.9475, allocations: 16.69 kB / 1.307 GB, free: 29.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.9475, allocations: 321.6 kB / 1.308 GB, free: 28.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.9476, allocations: 11.66 kB / 1.308 GB, free: 28.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.9476, allocations: 37.83 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/0.9477, allocations: 27.19 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9477, allocations: 3.422 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.9478, allocations: 70.33 kB / 1.308 GB, free: 28.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.9478, allocations: 9.625 kB / 1.308 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.9478, allocations: 0 / 1.308 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.9478, allocations: 0 / 1.308 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.9479, allocations: 3.25 kB / 1.308 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.9479, allocations: 7.188 kB / 1.308 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.9479, allocations: 10.59 kB / 1.308 GB, free: 28.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.9479, allocations: 6.969 kB / 1.308 GB, free: 28.81 MB / 1.061 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 4.717e-05/0.948, allocations: 116.5 kB / 1.308 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.948, allocations: 6.797 kB / 1.308 GB, free: 28.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.948, allocations: 11.38 kB / 1.308 GB, free: 28.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.948, allocations: 2.906 kB / 1.308 GB, free: 28.67 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.948, allocations: 4 kB / 1.308 GB, free: 28.67 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.948, allocations: 0 / 1.308 GB, free: 28.67 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.9482, allocations: 177 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9482, allocations: 0 / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.9482, allocations: 9.719 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.9482, allocations: 3.375 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.9482, allocations: 0 / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9482, allocations: 2.875 kB / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.9482, allocations: 0 / 1.308 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.9483, allocations: 161.1 kB / 1.308 GB, free: 28.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.9483, allocations: 81.05 kB / 1.308 GB, free: 28.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.9484, allocations: 6.453 kB / 1.308 GB, free: 28.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.9484, allocations: 2.812 kB / 1.308 GB, free: 28.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.9485, allocations: 10.3 kB / 1.308 GB, free: 28.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.9485, allocations: 2.844 kB / 1.308 GB, free: 28.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.9485, allocations: 90.89 kB / 1.308 GB, free: 28.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9485, allocations: 0 / 1.308 GB, free: 28.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002149/0.9487, allocations: 16.66 kB / 1.308 GB, free: 28.12 MB / 1.061 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.0002651/0.949, allocations: 0.6951 MB / 1.309 GB, free: 27.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.9491, allocations: 32.12 kB / 1.309 GB, free: 27.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9491, allocations: 4 kB / 1.309 GB, free: 27.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.9492, allocations: 23.05 kB / 1.309 GB, free: 27.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.9494, allocations: 5.281 kB / 1.309 GB, free: 27.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.9504, allocations: 1.349 MB / 1.31 GB, free: 26.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.882e-05/0.9505, allocations: 0.6841 MB / 1.311 GB, free: 25.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.121e-05/0.9505, allocations: 10.97 kB / 1.311 GB, free: 25.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.9506, allocations: 21.31 kB / 1.311 GB, free: 25.47 MB / 1.061 GB Notification: Performance of SimCode: time 4.5e-07/0.9506, allocations: 3 kB / 1.311 GB, free: 25.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.9736, allocations: 1.749 MB / 1.313 GB, free: 25.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.931, allocations: 18.67 kB / 1.313 GB, free: 25.07 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.36807254794985]