Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001313/0.001313, allocations: 105 kB / 20.48 MB, free: 1.488 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.001487/0.001487, allocations: 216 kB / 23.79 MB, free: 4.703 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.466/1.466, allocations: 230.6 MB / 257.6 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9365/0.9365, allocations: 150 MB / 464 MB, free: 10.58 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002325/0.002325, allocations: 69.64 kB / 0.642 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1854, allocations: 89.18 MB / 0.7291 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002337/0.1878, allocations: 0.7437 MB / 0.7298 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1895, allocations: 1.213 MB / 0.731 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.1896, allocations: 0 / 0.731 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.1897, allocations: 7.875 kB / 0.731 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.861e-05/0.1898, allocations: 11.92 kB / 0.731 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.1903, allocations: 144.7 kB / 0.7312 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1906, allocations: 131.7 kB / 0.7313 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1907, allocations: 12.17 kB / 0.7313 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1908, allocations: 47.92 kB / 0.7314 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1909, allocations: 55.8 kB / 0.7314 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.1909, allocations: 12 kB / 0.7314 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.191, allocations: 27.98 kB / 0.7314 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.1911, allocations: 7.984 kB / 0.7315 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.1911, allocations: 51.8 kB / 0.7315 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1914, allocations: 135.8 kB / 0.7316 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1914, allocations: 0 / 0.7316 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1914, allocations: 0 / 0.7316 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1914, allocations: 0 / 0.7316 GB, free: 14.81 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006906/0.1921, allocations: 347.7 kB / 0.732 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1921, allocations: 12.03 kB / 0.732 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.1922, allocations: 192 / 0.732 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.1922, allocations: 34.73 kB / 0.732 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1923, allocations: 20.89 kB / 0.732 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1924, allocations: 116.6 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1925, allocations: 4.375 kB / 0.7321 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1925, allocations: 12.38 kB / 0.7322 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.1927, allocations: 81.64 kB / 0.7322 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1927, allocations: 0 / 0.7322 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1927, allocations: 4 kB / 0.7322 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1927, allocations: 0 / 0.7322 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.1929, allocations: 47.95 kB / 0.7323 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.1935, allocations: 311.7 kB / 0.7326 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1937, allocations: 58.55 kB / 0.7326 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1938, allocations: 28.95 kB / 0.7327 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1938, allocations: 8 kB / 0.7327 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.1941, allocations: 91.38 kB / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.1941, allocations: 0 / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004714/0.1946, allocations: 145.6 kB / 0.7329 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1946, allocations: 55.41 kB / 0.733 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1948, allocations: 125.8 kB / 0.7331 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1948, allocations: 29.7 kB / 0.7331 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.1949, allocations: 92.09 kB / 0.7332 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1949, allocations: 31.77 kB / 0.7332 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.195, allocations: 37.7 kB / 0.7333 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1951, allocations: 326.8 kB / 0.7336 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.1953, allocations: 47.97 kB / 0.7336 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.1955, allocations: 95.8 kB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.1958, allocations: 146.8 kB / 0.7338 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1958, allocations: 0 / 0.7338 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005107/0.1963, allocations: 219.1 kB / 0.7341 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.1963, allocations: 37.86 kB / 0.7341 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1963, allocations: 48 / 0.7341 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1963, allocations: 7.984 kB / 0.7341 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1964, allocations: 19.98 kB / 0.7341 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1965, allocations: 7.938 kB / 0.7341 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.1967, allocations: 35.89 kB / 0.7342 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.1967, allocations: 4 kB / 0.7342 GB, free: 11.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.0001142/0.1968, allocations: 125.8 kB / 0.7343 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.1968, allocations: 11.94 kB / 0.7343 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.1972, allocations: 122 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1972, allocations: 0 / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1972, allocations: 0 / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1972, allocations: 3.938 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.1977, allocations: 353.5 kB / 0.7348 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1977, allocations: 0 / 0.7348 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/0.1977, allocations: 11.98 kB / 0.7348 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1977, allocations: 0 / 0.7348 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1978, allocations: 3.938 kB / 0.7348 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.1978, allocations: 7.938 kB / 0.7348 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1978, allocations: 7.875 kB / 0.7348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.1981, allocations: 215.4 kB / 0.735 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.1981, allocations: 7.953 kB / 0.735 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1981, allocations: 0 / 0.735 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.1982, allocations: 15.92 kB / 0.735 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1983, allocations: 7.984 kB / 0.735 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1983, allocations: 0 / 0.735 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.1983, allocations: 93.89 kB / 0.7351 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1983, allocations: 0 / 0.7351 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002932/0.1986, allocations: 32 kB / 0.7351 GB, free: 10.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006684/0.1993, allocations: 0.7442 MB / 0.7359 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.1997, allocations: 167.3 kB / 0.736 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1997, allocations: 0 / 0.736 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.1998, allocations: 39.91 kB / 0.7361 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2001, allocations: 20.16 kB / 0.7361 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.2024, allocations: 1.719 MB / 0.7378 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.2027, allocations: 0.6885 MB / 0.7384 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.2028, allocations: 7.984 kB / 0.7384 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.2028, allocations: 19.44 kB / 0.7385 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.2028, allocations: 3.938 kB / 0.7385 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.2267, allocations: 2.73 MB / 0.7411 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.07, allocations: 7.75 kB / 0.7411 GB, free: 4.742 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.7527516510454] Failed to read output from testmodel.py, exit status != 0: 12.227668189967517 12.243908043 12.0492065 Calling exit ...