Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001303/0.001303, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001636/0.001636, allocations: 220.6 kB / 23 MB, free: 4.969 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.017/1.017, allocations: 149.9 MB / 463 MB, free: 10.37 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.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",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.002361/0.002361, allocations: 65.81 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1777, allocations: 89.16 MB / 0.7282 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.001941/0.1796, allocations: 0.7217 MB / 0.7289 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1812, allocations: 1.163 MB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.1812, allocations: 3.938 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.1813, allocations: 3.938 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.1813, allocations: 7.922 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.1818, allocations: 142.9 kB / 0.7302 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.182, allocations: 115.8 kB / 0.7303 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.1821, allocations: 15.98 kB / 0.7303 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1822, allocations: 51.83 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.1823, allocations: 35.89 kB / 0.7304 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.1823, allocations: 8 kB / 0.7304 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.1824, allocations: 23.98 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.1824, allocations: 19.91 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.1825, allocations: 31.92 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1826, allocations: 111.9 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1826, allocations: 4 kB / 0.7306 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.356e-06/0.1827, allocations: 3.984 kB / 0.7306 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.1827, allocations: 0 / 0.7306 GB, free: 14.6 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.0005653/0.1832, allocations: 335.8 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1833, allocations: 8.031 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1833, allocations: 38.69 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1833, allocations: 8.891 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1834, allocations: 126.4 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1835, allocations: 8.375 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1835, allocations: 8.375 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1837, allocations: 66.22 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1837, allocations: 3.938 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1837, allocations: 3.938 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1837, allocations: 4 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.1839, allocations: 39.95 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.1844, allocations: 283.8 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1846, allocations: 58.61 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1847, allocations: 24.97 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1847, allocations: 4 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.1849, allocations: 95.25 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1849, allocations: 0 / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004494/0.1854, allocations: 145.7 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1854, allocations: 51.41 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1855, allocations: 122.8 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.1856, allocations: 33.7 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.1857, allocations: 92.12 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1857, allocations: 11.91 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.1857, allocations: 37.7 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1859, allocations: 322.8 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.1861, allocations: 81.66 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.1863, allocations: 125.9 kB / 0.7326 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.1866, allocations: 137.9 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1866, allocations: 0 / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004784/0.1871, allocations: 245 kB / 0.733 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.1871, allocations: 37.69 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1871, allocations: 0 / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1871, allocations: 3.938 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.1872, allocations: 11.98 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1872, allocations: 4 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.1874, allocations: 43.84 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1874, allocations: 16 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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.0001182/0.1876, allocations: 120 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.1876, allocations: 11.89 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.1876, allocations: 16.36 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1876, allocations: 0 / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1876, allocations: 0 / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1876, allocations: 0 / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.1881, allocations: 341.8 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1881, allocations: 4 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.1882, allocations: 11.92 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1882, allocations: 0 / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1882, allocations: 3.984 kB / 0.7336 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1882, allocations: 4.141 kB / 0.7336 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1882, allocations: 7.984 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.1885, allocations: 207.4 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.1885, allocations: 11.95 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1885, allocations: 0 / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.1886, allocations: 15.98 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.1887, allocations: 11.92 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1887, allocations: 4 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.467e-05/0.1887, allocations: 94.22 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1887, allocations: 0 / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002658/0.189, allocations: 27.94 kB / 0.7339 GB, free: 10.8 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0006542/0.1897, allocations: 0.7475 MB / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.1901, allocations: 193 kB / 0.7348 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1901, allocations: 0 / 0.7348 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1902, allocations: 35.91 kB / 0.7349 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1905, allocations: 17.97 kB / 0.7349 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.1927, allocations: 1.805 MB / 0.7367 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.467e-05/0.1928, allocations: 71.33 kB / 0.7367 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.1928, allocations: 7.859 kB / 0.7367 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.1929, allocations: 27.42 kB / 0.7368 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1929, allocations: 0 / 0.7368 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.2235, allocations: 3.204 MB / 0.7399 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.49, allocations: 8.922 kB / 0.7399 GB, free: 4.645 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.536036991979927] Failed to read output from testmodel.py, exit status != 0: 11.59579251985997 11.611315994 11.425593229 Calling exit ...