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.000801/0.000801, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.001273/0.001273, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.9978/0.9978, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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.99/1.99, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001577/0.001577, allocations: 71.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8248/0.8264, allocations: 180 MB / 1.352 GB, free: 1.664 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001809/0.8282, allocations: 0.6862 MB / 1.353 GB, free: 0.9805 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.8291, allocations: 0.8898 MB / 1.354 GB, free: 80 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.8292, allocations: 0 / 1.354 GB, free: 80 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.479e-05/0.8292, allocations: 3.938 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.8293, allocations: 7.875 kB / 1.354 GB, free: 68 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.8296, allocations: 27.98 kB / 1.354 GB, free: 40 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.8297, allocations: 59.91 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.8298, allocations: 11.98 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.8299, allocations: 39.8 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.83, allocations: 19.83 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.83, allocations: 12 kB / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.721e-05/0.8301, allocations: 12 kB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.8301, allocations: 11.92 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.8301, allocations: 15.94 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.8303, allocations: 77.95 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8303, allocations: 0 / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8303, allocations: 0 / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8303, allocations: 0 / 1.354 GB, free: 15.79 MB / 1.042 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.0007419/0.831, allocations: 295.8 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.8311, allocations: 12.88 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.8311, allocations: 38.69 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.8312, allocations: 20.88 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.8314, allocations: 130.4 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.8315, allocations: 8.375 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.8315, allocations: 4.375 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.8316, allocations: 54.23 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8316, allocations: 3.938 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.8316, allocations: 0 / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.8316, allocations: 4 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.8317, allocations: 35.92 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.832, allocations: 263.8 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.8323, allocations: 70.52 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.8323, allocations: 12.92 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.8323, allocations: 7.938 kB / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.8323, allocations: 34.56 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.8323, allocations: 0 / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002044/0.8325, allocations: 73.75 kB / 1.355 GB, free: 14.6 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.8326, allocations: 51.41 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.8326, allocations: 121.8 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.8327, allocations: 29.7 kB / 1.355 GB, free: 14.37 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.8327, allocations: 92.08 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.8327, allocations: 11.95 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.8328, allocations: 17.66 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.8329, allocations: 322.8 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.8329, allocations: 16 kB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.833, allocations: 59.34 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.833, allocations: 29.12 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.833, allocations: 0 / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.519e-05/0.8331, allocations: 73.61 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8331, allocations: 4 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8331, allocations: 0 / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8331, allocations: 0 / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.8332, allocations: 15.95 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8332, allocations: 7.938 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.8332, allocations: 4 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.8332, allocations: 4 kB / 1.356 GB, free: 13.69 MB / 1.042 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.908e-05/0.8333, allocations: 122.3 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.8333, allocations: 7.953 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.8333, allocations: 8 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.8333, allocations: 4 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8334, allocations: 0 / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8334, allocations: 0 / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.8335, allocations: 148.6 kB / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8335, allocations: 4 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.8335, allocations: 4 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8335, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.8335, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8335, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8335, allocations: 3.984 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.8337, allocations: 155.4 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.8337, allocations: 11.94 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.8337, allocations: 4 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.8337, allocations: 8 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.8338, allocations: 7.984 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.8338, allocations: 0 / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.8338, allocations: 95.27 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8338, allocations: 0 / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001498/0.834, allocations: 8 kB / 1.357 GB, free: 13.04 MB / 1.042 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.0003577/0.8343, allocations: 0.6929 MB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.8345, allocations: 35.92 kB / 1.357 GB, free: 12.28 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8345, allocations: 0 / 1.357 GB, free: 12.28 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.8345, allocations: 19.98 kB / 1.357 GB, free: 12.26 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.8348, allocations: 11.94 kB / 1.357 GB, free: 12.25 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.8359, allocations: 1.34 MB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.875e-05/0.8359, allocations: 75.33 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.246e-05/0.836, allocations: 8.031 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.836, allocations: 19.42 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of SimCode: time 9.52e-07/0.836, allocations: 0 / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08164/0.9177, allocations: 2.307 MB / 1.361 GB, free: 8.547 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/8.037, allocations: 10.09 kB / 1.361 GB, free: 8.543 MB / 1.042 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: 13.018628059886396]