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.001279/0.001279, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001414/0.001414, allocations: 210.4 kB / 23.04 MB, free: 4.883 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.9292/0.9292, allocations: 150 MB / 463.2 MB, free: 10.19 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.002224/0.002224, allocations: 75 kB / 0.6413 GB, free: 9.84 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1687, allocations: 89.17 MB / 0.7284 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002071/0.1707, allocations: 0.7147 MB / 0.7291 GB, free: 32 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1727, allocations: 1.163 MB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.1728, allocations: 0 / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.1728, allocations: 3.938 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.971e-05/0.1729, allocations: 19.86 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.1735, allocations: 138.9 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.1737, allocations: 115.8 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.1738, allocations: 7.984 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1739, allocations: 51.89 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.174, allocations: 35.89 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.174, allocations: 12 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.1741, allocations: 19.98 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.1741, allocations: 23.91 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.1742, allocations: 43.8 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1744, allocations: 104 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1744, allocations: 0 / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1744, allocations: 0 / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.1744, allocations: 0 / 0.7307 GB, free: 14.29 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.0006674/0.1751, allocations: 339.8 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1751, allocations: 12.02 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.1751, allocations: 30.75 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.1752, allocations: 16.83 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1753, allocations: 114.4 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1753, allocations: 16.36 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1754, allocations: 8.312 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1756, allocations: 70.16 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1756, allocations: 7.922 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1756, allocations: 0 / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1756, allocations: 0 / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.1758, allocations: 43.95 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.1763, allocations: 279.9 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1765, allocations: 58.55 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1766, allocations: 28.97 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.1766, allocations: 0 / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.1769, allocations: 95.3 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1769, allocations: 0 / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004421/0.1773, allocations: 145.6 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1774, allocations: 59.39 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.1775, allocations: 117.8 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.1775, allocations: 33.7 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.1776, allocations: 92.12 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1776, allocations: 11.91 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.1776, allocations: 37.7 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1778, allocations: 322.8 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.178, allocations: 89.66 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.1782, allocations: 115.4 kB / 0.7328 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.1784, allocations: 141.8 kB / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1784, allocations: 0 / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004608/0.1789, allocations: 244.8 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.1789, allocations: 43.72 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.179, allocations: 4 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.179, allocations: 0 / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.1791, allocations: 15.92 kB / 0.7332 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1791, allocations: 0 / 0.7332 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.1793, allocations: 44.03 kB / 0.7333 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.1793, allocations: 16 kB / 0.7333 GB, free: 11.43 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.000113/0.1794, allocations: 124.2 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.1794, allocations: 7.953 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.1795, allocations: 8.375 kB / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1795, allocations: 3.984 kB / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.1795, allocations: 4 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1795, allocations: 0 / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.18, allocations: 341.5 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.18, allocations: 0 / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.18, allocations: 11.98 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.18, allocations: 0 / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.18, allocations: 3.938 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.18, allocations: 0 / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.18, allocations: 0 / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.1804, allocations: 215.3 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.1804, allocations: 15.95 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1804, allocations: 0 / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.1805, allocations: 7.984 kB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.1805, allocations: 15.92 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.1805, allocations: 0 / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.629e-05/0.1806, allocations: 91.27 kB / 0.7341 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1806, allocations: 0 / 0.7341 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002591/0.1809, allocations: 31.94 kB / 0.7341 GB, free: 10.49 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.0006918/0.1815, allocations: 0.7518 MB / 0.7349 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.182, allocations: 193 kB / 0.735 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.182, allocations: 0 / 0.735 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1821, allocations: 35.97 kB / 0.7351 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1824, allocations: 12.95 kB / 0.7351 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.185, allocations: 1.806 MB / 0.7369 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.962e-05/0.1851, allocations: 75.33 kB / 0.7369 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.1851, allocations: 11.86 kB / 0.7369 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.1852, allocations: 23.42 kB / 0.737 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.1852, allocations: 0 / 0.737 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.2164, allocations: 3.211 MB / 0.7401 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.62, allocations: 6.984 kB / 0.7401 GB, free: 4.328 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.223634395049885] Failed to read output from testmodel.py, exit status != 0: 10.731449611019343 10.749009563 10.571646835 Calling exit ...