Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.000827/0.000827, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0008459/0.0008459, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8734/0.8734, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.687/1.687, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9504 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.559e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001183/0.001199, allocations: 0.6924 MB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008765/0.002075, allocations: 0.8743 MB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.002122, allocations: 4 kB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.002152, allocations: 3.938 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.002242, allocations: 11.86 kB / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.002456, allocations: 23.92 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.002547, allocations: 67.77 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.002658, allocations: 8 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.002814, allocations: 51.83 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.002878, allocations: 23.91 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.002895, allocations: 4 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.935e-05/0.002934, allocations: 8 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.002949, allocations: 8 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.002975, allocations: 23.91 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003103, allocations: 71.77 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003105, allocations: 0 / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003106, allocations: 0 / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.003111, allocations: 0 / 0.9523 GB, free: 1.641 MB / 0.9011 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.0003982/0.00351, allocations: 302 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.003556, allocations: 8.031 kB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.003591, allocations: 38.75 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.003716, allocations: 16.88 kB / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.003894, allocations: 137.7 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.003907, allocations: 8.25 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.003918, allocations: 4.375 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.004022, allocations: 58.23 kB / 0.9528 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.004028, allocations: 192 / 0.9528 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.004038, allocations: 8.375 kB / 0.9528 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004043, allocations: 4.125 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.072e-05/0.004104, allocations: 27.98 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.004408, allocations: 251.9 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.004597, allocations: 70.56 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.004629, allocations: 20.91 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.004644, allocations: 4 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.004661, allocations: 34.56 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004662, allocations: 0 / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001826/0.004845, allocations: 77.55 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.004878, allocations: 55.41 kB / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.004946, allocations: 117.8 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.004959, allocations: 25.7 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.005009, allocations: 104.1 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.005024, allocations: 11.88 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.005054, allocations: 21.72 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.00515, allocations: 318.8 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.034e-05/0.00518, allocations: 12 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.005233, allocations: 55.41 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/0.005287, allocations: 28.84 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005289, allocations: 0 / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002638/0.005553, allocations: 73.78 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.005569, allocations: 4 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005573, allocations: 4 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.005584, allocations: 4.031 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.005619, allocations: 8.031 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.005625, allocations: 0 / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.005655, allocations: 7.984 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.005665, allocations: 8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 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 (shaH.hys.y,$PRE.shaH.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 6.448e-05/0.00573, allocations: 113.8 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.005742, allocations: 3.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.005771, allocations: 12 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005773, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.005778, allocations: 4 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.005782, allocations: 0 / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.005918, allocations: 148.6 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005919, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.005936, allocations: 7.938 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005937, allocations: 3.938 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.005945, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005946, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005947, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.006054, allocations: 156.1 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.006065, allocations: 15.94 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.00608, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.006116, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.006157, allocations: 7.984 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.006159, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.006199, allocations: 99.2 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006199, allocations: 0 / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001472/0.006346, allocations: 12 kB / 0.9547 GB, free: 14.88 MB / 0.9167 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.00029/0.006636, allocations: 0.6967 MB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.006748, allocations: 31.98 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.00675, allocations: 0 / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.006782, allocations: 19.92 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.006983, allocations: 8 kB / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.007882, allocations: 1.333 MB / 0.9567 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.007925, allocations: 67.34 kB / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.00796, allocations: 12.31 kB / 0.9568 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.008005, allocations: 24.47 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.008006, allocations: 0 / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.02612, allocations: 2.448 MB / 0.9592 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/6.675, allocations: 5.891 kB / 0.9592 GB, free: 10.26 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaH.H in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.H from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HHigh in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HHigh from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HLow in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HLow from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.797884871251881]