Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009398/0.0009398, allocations: 80.52 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001/0.001, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.8924/0.8924, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.785/1.785, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.348e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001782/0.001806, allocations: 0.6896 MB / 1.001 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003055, allocations: 0.8789 MB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.003118, allocations: 0 / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.003153, allocations: 11.94 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.003262, allocations: 11.86 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.003502, allocations: 15.98 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003616, allocations: 63.78 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.003729, allocations: 15.97 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.003937, allocations: 47.84 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.00401, allocations: 15.97 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.004033, allocations: 8 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.832e-05/0.004082, allocations: 11.94 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.004101, allocations: 15.92 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.004133, allocations: 19.94 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004288, allocations: 71.81 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.00429, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004291, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004295, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 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.0004579/0.004753, allocations: 290.1 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.004796, allocations: 9.344 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.004839, allocations: 34.73 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.004989, allocations: 24.83 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.005217, allocations: 141.6 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.005232, allocations: 4.375 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.005247, allocations: 12.3 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.005379, allocations: 54.23 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005387, allocations: 192 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.005397, allocations: 384 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.005405, allocations: 8.125 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.27e-05/0.005498, allocations: 31.97 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.005924, allocations: 255.9 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.006181, allocations: 74.41 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.006228, allocations: 20.86 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.00624, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.00626, allocations: 34.64 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.006262, allocations: 0 / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002422/0.006504, allocations: 77.56 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.00654, allocations: 55.41 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.00664, allocations: 121.8 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.006658, allocations: 29.7 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.006714, allocations: 92.12 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.006733, allocations: 7.953 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.006775, allocations: 13.72 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.00688, allocations: 318.8 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.006938, allocations: 19.98 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.007003, allocations: 51.42 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.831e-05/0.007082, allocations: 40.86 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007084, allocations: 0 / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.007211, allocations: 69.52 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.007224, allocations: 4 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007229, allocations: 3.938 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007241, allocations: 4 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.853e-05/0.00729, allocations: 7.984 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.007295, allocations: 0 / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.007345, allocations: 11.98 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.007355, allocations: 4 kB / 1.004 GB, free: 9.574 MB / 0.9636 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 7.775e-05/0.007433, allocations: 112.5 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.007461, allocations: 11.89 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.007489, allocations: 12 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.007492, allocations: 336 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.007496, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.0075, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.007668, allocations: 144.7 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.007671, allocations: 3.984 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.007715, allocations: 8 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.007717, allocations: 3.938 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.007726, allocations: 3.984 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007728, allocations: 0 / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007729, allocations: 0 / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.007892, allocations: 159.4 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.007905, allocations: 4 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.007921, allocations: 0 / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.007992, allocations: 7.984 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.008043, allocations: 11.98 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.008048, allocations: 7.938 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.0081, allocations: 95.27 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.0081, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00024/0.00834, allocations: 11.94 kB / 1.005 GB, free: 8.914 MB / 0.9636 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.0003969/0.008737, allocations: 0.6928 MB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.008876, allocations: 23.98 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.008879, allocations: 4 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.726e-05/0.008926, allocations: 23.92 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.009213, allocations: 10.34 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.01066, allocations: 1.337 MB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.743e-05/0.01071, allocations: 67.34 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.739e-05/0.01076, allocations: 11.98 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.01082, allocations: 20.5 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of SimCode: time 7.62e-07/0.01082, allocations: 0 / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07699/0.08781, allocations: 2.446 MB / 1.009 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.716, allocations: 7.891 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu) > Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H_fmpy_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 ../Buildings_13_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu) > Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.204643188975751]