Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001752/0.001752, allocations: 109 kB / 20.48 MB, free: 1.473 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.002191/0.002191, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.446/1.446, allocations: 230.6 MB / 257.6 MB, free: 8.004 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 1.027/1.027, allocations: 150 MB / 464 MB, free: 10.5 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.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",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.002053/0.002053, allocations: 74.06 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1789, allocations: 89.16 MB / 0.7291 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002001/0.1809, allocations: 0.6688 MB / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1825, allocations: 1.1 MB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.1825, allocations: 4 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.1825, allocations: 7.938 kB / 0.7308 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.1826, allocations: 3.938 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1829, allocations: 47.83 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.848e-05/0.183, allocations: 47.84 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.1831, allocations: 4 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.422e-05/0.1831, allocations: 23.92 kB / 0.731 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.1832, allocations: 19.92 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1832, allocations: 4 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.1833, allocations: 23.97 kB / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.1833, allocations: 11.98 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.1834, allocations: 27.86 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1835, allocations: 60.06 kB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1835, allocations: 0 / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1835, allocations: 0 / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.1835, allocations: 0 / 0.7311 GB, free: 15.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005998/0.1841, allocations: 286.2 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1842, allocations: 12.03 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/0.1842, allocations: 8.125 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.1842, allocations: 34.73 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.1843, allocations: 8.891 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1844, allocations: 114.5 kB / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1844, allocations: 384 / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1845, allocations: 4.375 kB / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.1847, allocations: 65.97 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1847, allocations: 0 / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1847, allocations: 4 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1847, allocations: 4 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.1849, allocations: 51.83 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.1854, allocations: 251.8 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1855, allocations: 50.55 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1856, allocations: 32.95 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1857, allocations: 4 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.1859, allocations: 79.31 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1859, allocations: 0 / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004268/0.1864, allocations: 113.6 kB / 0.7322 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1864, allocations: 59.39 kB / 0.7322 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.1865, allocations: 101.8 kB / 0.7323 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1865, allocations: 29.7 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.1866, allocations: 88.12 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.1866, allocations: 15.91 kB / 0.7325 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1866, allocations: 17.72 kB / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1868, allocations: 322.8 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.1869, allocations: 23.98 kB / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.187, allocations: 59.33 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1872, allocations: 83.38 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1872, allocations: 3.938 kB / 0.7329 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002753/0.1875, allocations: 97.58 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1875, allocations: 8 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1875, allocations: 0 / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1875, allocations: 0 / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1876, allocations: 20.08 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1876, allocations: 0 / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.1877, allocations: 15.94 kB / 0.7331 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1877, allocations: 4 kB / 0.7331 GB, free: 13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001011/0.1878, allocations: 125.7 kB / 0.7332 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.1878, allocations: 0 / 0.7332 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.1881, allocations: 110 kB / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1881, allocations: 0 / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1881, allocations: 4 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1881, allocations: 0 / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.1886, allocations: 330.1 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1886, allocations: 0 / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.1887, allocations: 12.05 kB / 0.7336 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.1887, allocations: 4 kB / 0.7336 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1887, allocations: 4 kB / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1887, allocations: 0 / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1887, allocations: 3.938 kB / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.189, allocations: 195.4 kB / 0.7338 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-06/0.189, allocations: 3.953 kB / 0.7338 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.189, allocations: 3.938 kB / 0.7338 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1891, allocations: 15.98 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.1892, allocations: 11.92 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1892, allocations: 4 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.1892, allocations: 79.28 kB / 0.7339 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1892, allocations: 0 / 0.7339 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002504/0.1895, allocations: 16 kB / 0.734 GB, free: 12.02 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.000678/0.1902, allocations: 0.7241 MB / 0.7347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.1904, allocations: 63.94 kB / 0.7347 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1904, allocations: 0 / 0.7347 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1905, allocations: 28.11 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.1908, allocations: 15.92 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1926, allocations: 1.389 MB / 0.7361 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.193, allocations: 0.6807 MB / 0.7368 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.193, allocations: 4 kB / 0.7368 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.193, allocations: 15.44 kB / 0.7368 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.193, allocations: 0 / 0.7368 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.2169, allocations: 1.908 MB / 0.7387 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.6, allocations: 6.938 kB / 0.7387 GB, free: 7.188 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.51042761199642] Failed to read output from testmodel.py, exit status != 0: 11.767462980002165 11.796734326 11.608109978 Calling exit ...