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.001129/0.001129, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.0008548/0.0008548, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.9187/0.9187, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.902/1.902, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.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 2.014e-06/2.014e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.359e-05, allocations: 2.281 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001277/0.00129, allocations: 0.7168 MB / 1.001 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.002446, allocations: 1.21 MB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.002493, allocations: 0 / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.00252, allocations: 7.922 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.002584, allocations: 15.92 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.002989, allocations: 150.8 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003123, allocations: 115.8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.003209, allocations: 11.94 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.003313, allocations: 67.88 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.00339, allocations: 39.92 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.003412, allocations: 15.94 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.003469, allocations: 19.98 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.00349, allocations: 8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.003539, allocations: 39.89 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.003708, allocations: 131.7 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00371, allocations: 4 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003711, allocations: 0 / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.003715, allocations: 0 / 1.003 GB, free: 11.01 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.0004556/0.00417, allocations: 335.8 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.00421, allocations: 13.28 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.004242, allocations: 38.69 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.004316, allocations: 4.938 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.124e-05/0.004388, allocations: 113.8 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.004401, allocations: 8.359 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.004416, allocations: 4.375 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.004551, allocations: 78.19 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004559, allocations: 4.125 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.004568, allocations: 384 / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.00458, allocations: 8.125 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.00468, allocations: 43.89 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.005032, allocations: 275.9 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.005135, allocations: 46.55 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.005186, allocations: 28.88 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.005202, allocations: 4 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.005343, allocations: 91.3 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005344, allocations: 0 / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.000271/0.005615, allocations: 137.6 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.005642, allocations: 55.41 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.00571, allocations: 113.8 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.005729, allocations: 33.7 kB / 1.005 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.005771, allocations: 88.14 kB / 1.005 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.005789, allocations: 19.91 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.005834, allocations: 41.64 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.005909, allocations: 318.8 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.006011, allocations: 77.66 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.006116, allocations: 105 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.006263, allocations: 141 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.006266, allocations: 7.938 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002518/0.006518, allocations: 221 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.006546, allocations: 37.69 kB / 1.006 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006551, allocations: 0 / 1.006 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.006562, allocations: 8.062 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.00662, allocations: 19.88 kB / 1.006 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.006626, allocations: 3.984 kB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.006728, allocations: 31.92 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.006742, allocations: 7.984 kB / 1.006 GB, free: 8.23 MB / 0.9636 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 6.341e-05/0.006805, allocations: 128.8 kB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.006812, allocations: 4 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.006982, allocations: 114.1 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.006986, allocations: 4 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.00699, allocations: 7.922 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006994, allocations: 3.938 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.007232, allocations: 325.5 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007234, allocations: 0 / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.007263, allocations: 11.98 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.007264, allocations: 4 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.007272, allocations: 0 / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007273, allocations: 0 / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.007275, allocations: 3.984 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.007439, allocations: 203.4 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.007446, allocations: 8.047 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.007463, allocations: 4 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-05/0.007508, allocations: 11.97 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.007541, allocations: 4 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.007548, allocations: 11.98 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.007577, allocations: 87.28 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007577, allocations: 0 / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001752/0.007752, allocations: 24 kB / 1.007 GB, free: 7.211 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: 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.0005021/0.008254, allocations: 0.7466 MB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.008486, allocations: 197.6 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-06/0.008487, allocations: 0 / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.008547, allocations: 31.97 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.008732, allocations: 12.14 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.0101, allocations: 1.772 MB / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.01015, allocations: 67.34 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.01017, allocations: 4.281 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.0102, allocations: 24.48 kB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01021, allocations: 0 / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/0.08519, allocations: 3.224 MB / 1.012 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.17, allocations: 10.02 kB / 1.012 GB, free: 1.105 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.771668815054]