Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001301/0.001301, allocations: 108.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.001733/0.001733, allocations: 219.8 kB / 23.02 MB, free: 2.957 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 1.062/1.062, allocations: 230.6 MB / 256.8 MB, free: 9.621 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 2.038/2.038, allocations: 0.5045 GB / 0.8104 GB, free: 2.723 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.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 67.91 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8264, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001847/0.8282, allocations: 0.7224 MB / 1.353 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.8295, allocations: 1.209 MB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.8296, allocations: 0 / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.8296, allocations: 3.938 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.8297, allocations: 11.88 kB / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.8302, allocations: 145.3 kB / 1.354 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.8303, allocations: 119.8 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.8304, allocations: 15.97 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.8305, allocations: 43.86 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.8306, allocations: 43.86 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.8306, allocations: 12 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.8307, allocations: 23.98 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.8307, allocations: 11.94 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.8307, allocations: 35.91 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.8309, allocations: 121.9 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8309, allocations: 0 / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8309, allocations: 4 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8309, allocations: 0 / 1.355 GB, free: 15.12 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.0004985/0.8314, allocations: 333.5 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.8315, allocations: 8.922 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.8315, allocations: 38.75 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.8316, allocations: 12.89 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.061e-05/0.8316, allocations: 118.4 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.8317, allocations: 384 / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.8317, allocations: 8.375 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.8318, allocations: 74.2 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8318, allocations: 3.938 kB / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.8318, allocations: 0 / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8318, allocations: 0 / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.435e-05/0.8319, allocations: 43.95 kB / 1.355 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.8323, allocations: 279.8 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.8325, allocations: 50.55 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.8325, allocations: 32.92 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.8325, allocations: 0 / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.8327, allocations: 91.25 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.8327, allocations: 0 / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0002788/0.833, allocations: 129.6 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.8331, allocations: 55.41 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.8331, allocations: 121.8 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.8331, allocations: 25.7 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.8332, allocations: 96.14 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.8332, allocations: 19.89 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.8333, allocations: 37.7 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.8333, allocations: 322.8 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.8334, allocations: 85.55 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.8338, allocations: 113 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.834, allocations: 133 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.834, allocations: 0 / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002706/0.8342, allocations: 224.9 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.8343, allocations: 37.69 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8343, allocations: 4 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8343, allocations: 0 / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.8344, allocations: 16.05 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.8344, allocations: 7.938 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.8345, allocations: 31.92 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.8345, allocations: 11.98 kB / 1.357 GB, free: 12.35 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.933e-05/0.8346, allocations: 122.3 kB / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.8346, allocations: 0 / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.8348, allocations: 121.9 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8348, allocations: 0 / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.8348, allocations: 4.469 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8348, allocations: 0 / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.835, allocations: 329.5 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.8351, allocations: 4 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.8351, allocations: 4 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.8351, allocations: 7.922 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.8351, allocations: 12 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.8351, allocations: 480 / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8351, allocations: 3.938 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.8353, allocations: 211.4 kB / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.8353, allocations: 7.953 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.8353, allocations: 96 / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.8353, allocations: 11.98 kB / 1.358 GB, free: 11.44 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.8354, allocations: 11.91 kB / 1.358 GB, free: 11.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.8354, allocations: 4 kB / 1.358 GB, free: 11.43 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.8354, allocations: 91.28 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8354, allocations: 0 / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001816/0.8356, allocations: 27.92 kB / 1.358 GB, free: 11.31 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004127/0.836, allocations: 0.7358 MB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.8363, allocations: 185 kB / 1.359 GB, free: 10.35 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8363, allocations: 4.125 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.8363, allocations: 31.98 kB / 1.359 GB, free: 10.31 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.8366, allocations: 18.27 kB / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.838, allocations: 1.76 MB / 1.361 GB, free: 8.402 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.007e-05/0.8381, allocations: 67.34 kB / 1.361 GB, free: 8.316 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.8381, allocations: 7.75 kB / 1.361 GB, free: 8.309 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.8381, allocations: 23.42 kB / 1.361 GB, free: 8.289 MB / 1.042 GB Notification: Performance of SimCode: time 9.82e-07/0.8381, allocations: 0 / 1.361 GB, free: 8.289 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0813/0.9194, allocations: 3.102 MB / 1.364 GB, free: 5.352 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/8.17, allocations: 7.625 kB / 1.364 GB, free: 5.348 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.386457090266049]