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.001922/0.001922, allocations: 119 kB / 19.69 MB, free: 2.199 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.002357/0.002357, allocations: 222.6 kB / 23.01 MB, free: 5.047 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9115/0.9115, allocations: 150 MB / 463.2 MB, free: 10.53 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",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.003289/0.003289, allocations: 78.98 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2316, allocations: 89.17 MB / 0.7283 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002382/0.234, allocations: 0.7399 MB / 0.7291 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.236, allocations: 1.213 MB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.2361, allocations: 0 / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.2361, allocations: 7.875 kB / 0.7303 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.689e-05/0.2362, allocations: 11.92 kB / 0.7303 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.2369, allocations: 153 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.2371, allocations: 119.8 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2372, allocations: 16.11 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.2374, allocations: 55.89 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.2375, allocations: 47.88 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.2375, allocations: 11.94 kB / 0.7307 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.641e-05/0.2376, allocations: 27.98 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.2376, allocations: 15.98 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.2377, allocations: 51.78 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.238, allocations: 131.8 kB / 0.7309 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.238, allocations: 0 / 0.7309 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.238, allocations: 0 / 0.7309 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.238, allocations: 3.938 kB / 0.7309 GB, free: 14.72 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.0006363/0.2386, allocations: 347.8 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2386, allocations: 8.031 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.2387, allocations: 38.75 kB / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.2388, allocations: 12.89 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2389, allocations: 122.4 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2389, allocations: 8.375 kB / 0.7314 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.239, allocations: 8.375 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2392, allocations: 77.91 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2392, allocations: 0 / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2392, allocations: 0 / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2392, allocations: 0 / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.2394, allocations: 47.95 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.2399, allocations: 315.7 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.2401, allocations: 58.55 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2402, allocations: 28.95 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.2402, allocations: 0 / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/0.2405, allocations: 87.45 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.2405, allocations: 3.938 kB / 0.732 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.000464/0.241, allocations: 153.5 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.241, allocations: 55.41 kB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2412, allocations: 124.6 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.2412, allocations: 33.7 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.2413, allocations: 96.08 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.2413, allocations: 23.8 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.2414, allocations: 37.7 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2415, allocations: 322.8 kB / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2417, allocations: 51.95 kB / 0.7328 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.2419, allocations: 97.05 kB / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.2422, allocations: 146.8 kB / 0.7331 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2422, allocations: 0 / 0.7331 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004644/0.2427, allocations: 215.1 kB / 0.7333 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.2427, allocations: 37.7 kB / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2427, allocations: 3.984 kB / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2427, allocations: 8.156 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.2428, allocations: 12 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2428, allocations: 11.86 kB / 0.7334 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.243, allocations: 27.97 kB / 0.7334 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.2431, allocations: 15.92 kB / 0.7334 GB, free: 11.89 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.0001083/0.2432, allocations: 124.8 kB / 0.7335 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.2432, allocations: 11.95 kB / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.2435, allocations: 125.9 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2435, allocations: 48 / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.2435, allocations: 7.984 kB / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2435, allocations: 0 / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.244, allocations: 349.5 kB / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.244, allocations: 4 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.244, allocations: 7.984 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.244, allocations: 4 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.244, allocations: 0 / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.244, allocations: 3.938 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.244, allocations: 0 / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.2444, allocations: 219.9 kB / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.2444, allocations: 11.88 kB / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.2444, allocations: 0 / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.2445, allocations: 15.92 kB / 0.7342 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.2445, allocations: 4 kB / 0.7342 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2445, allocations: 7.984 kB / 0.7343 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.2446, allocations: 87.28 kB / 0.7343 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2446, allocations: 0 / 0.7343 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002619/0.2448, allocations: 27.98 kB / 0.7344 GB, free: 10.82 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.0006856/0.2455, allocations: 0.7554 MB / 0.7351 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.2459, allocations: 163.4 kB / 0.7353 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2459, allocations: 0 / 0.7353 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.246, allocations: 39.97 kB / 0.7353 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.2463, allocations: 15.92 kB / 0.7353 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.2485, allocations: 1.723 MB / 0.737 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.2488, allocations: 0.6923 MB / 0.7377 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.2489, allocations: 4 kB / 0.7377 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.2489, allocations: 23.42 kB / 0.7377 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2489, allocations: 0 / 0.7377 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.2785, allocations: 2.693 MB / 0.7403 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.97, allocations: 10.12 kB / 0.7403 GB, free: 4.668 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.669353807112202] Failed to read output from testmodel.py, exit status != 0: 11.089575857156888 11.113546696 10.87141905 Calling exit ...