Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00139/0.00139, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001615/0.001615, allocations: 212.5 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.4/3.4, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003543/0.003543, allocations: 71.77 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.395, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002353/0.3974, allocations: 0.6902 MB / 1.326 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3987, allocations: 0.886 MB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.3987, allocations: 4 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.3988, allocations: 3.938 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.3989, allocations: 7.875 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3991, allocations: 19.97 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3992, allocations: 55.86 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3993, allocations: 23.97 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.3995, allocations: 31.8 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.3996, allocations: 27.86 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3996, allocations: 4 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.008e-05/0.3996, allocations: 8 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.3997, allocations: 23.91 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.3997, allocations: 11.94 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.3999, allocations: 79.91 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3999, allocations: 0 / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3999, allocations: 0 / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3999, allocations: 8 kB / 1.327 GB, free: 0.5156 MB / 1.014 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.0005339/0.4004, allocations: 286.1 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4005, allocations: 12.03 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.4005, allocations: 38.73 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.4007, allocations: 12.89 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.401, allocations: 143.6 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.401, allocations: 8.312 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.401, allocations: 384 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4012, allocations: 61.05 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4012, allocations: 4 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4012, allocations: 4 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4012, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.4013, allocations: 35.91 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.4018, allocations: 255.9 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.4021, allocations: 70.45 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.4022, allocations: 16.92 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.4022, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.4022, allocations: 42.66 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.4022, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003005/0.4025, allocations: 69.66 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.4026, allocations: 51.41 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.4027, allocations: 125.7 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4027, allocations: 25.7 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.4028, allocations: 96.2 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.4028, allocations: 19.88 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.4029, allocations: 17.72 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.403, allocations: 318.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.4031, allocations: 15.98 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.4032, allocations: 55.42 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.4033, allocations: 24.84 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4033, allocations: 3.984 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001508/0.4034, allocations: 65.64 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4034, allocations: 5.438 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4034, allocations: 7.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4034, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.4035, allocations: 11.92 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4035, allocations: 3.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.4036, allocations: 15.98 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.4036, allocations: 3.938 kB / 1.329 GB, free: 14.41 MB / 1.029 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 0.000103/0.4037, allocations: 110.4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.4037, allocations: 12.28 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.4038, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4038, allocations: 7.984 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4038, allocations: 3.938 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4038, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.404, allocations: 136.7 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.404, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.404, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.404, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.404, allocations: 7.984 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.404, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.404, allocations: 3.938 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4042, allocations: 163.4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.4043, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4043, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.4043, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.4044, allocations: 15.91 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.4044, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.176e-05/0.4045, allocations: 95.27 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4045, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002315/0.4047, allocations: 8 kB / 1.329 GB, free: 13.76 MB / 1.029 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.0005439/0.4053, allocations: 0.689 MB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.4055, allocations: 31.92 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4055, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.4055, allocations: 19.98 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.4059, allocations: 7.938 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.4076, allocations: 1.348 MB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.462e-05/0.4077, allocations: 71.28 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.656e-05/0.4077, allocations: 3.984 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.4078, allocations: 19.38 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.4078, allocations: 0 / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.4405, allocations: 2.314 MB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.88, allocations: 13.36 kB / 1.334 GB, free: 9.262 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.H from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HHigh in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HHigh from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HLow in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HLow from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.00642806198448]