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.001878/0.001878, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.002465/0.002465, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.641/1.641, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9811/0.9811, allocations: 150 MB / 459.5 MB, free: 5.285 MB / 350.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.002073/0.002073, allocations: 67.06 kB / 0.6361 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.181, allocations: 89.13 MB / 0.7232 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002068/0.1831, allocations: 0.7296 MB / 0.7239 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1847, allocations: 1.188 MB / 0.725 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.1847, allocations: 3.938 kB / 0.725 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.1847, allocations: 3.938 kB / 0.725 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.1848, allocations: 11.92 kB / 0.7251 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.1853, allocations: 138 kB / 0.7252 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1855, allocations: 115.8 kB / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.1856, allocations: 8 kB / 0.7253 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1857, allocations: 55.83 kB / 0.7254 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.1858, allocations: 43.81 kB / 0.7254 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.1858, allocations: 12 kB / 0.7254 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-05/0.1859, allocations: 23.98 kB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.1859, allocations: 11.98 kB / 0.7254 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.186, allocations: 47.84 kB / 0.7255 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1862, allocations: 111.9 kB / 0.7256 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1862, allocations: 0 / 0.7256 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1862, allocations: 0 / 0.7256 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1862, allocations: 4 kB / 0.7256 GB, free: 1.57 MB / 0.5294 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.0006368/0.1868, allocations: 412.9 kB / 0.726 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1868, allocations: 8.031 kB / 0.726 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.1869, allocations: 30.75 kB / 0.726 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.1869, allocations: 12.89 kB / 0.726 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1871, allocations: 184.2 kB / 0.7262 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1871, allocations: 8.312 kB / 0.7262 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1871, allocations: 8.375 kB / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1873, allocations: 70.19 kB / 0.7263 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1873, allocations: 11.92 kB / 0.7263 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1873, allocations: 0 / 0.7263 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1873, allocations: 0 / 0.7263 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1875, allocations: 39.97 kB / 0.7264 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.1881, allocations: 328.7 kB / 0.7267 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1882, allocations: 58.61 kB / 0.7267 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1884, allocations: 32.95 kB / 0.7268 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1884, allocations: 7.938 kB / 0.7268 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.1886, allocations: 91.25 kB / 0.7269 GB, free: 108 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1886, allocations: 0 / 0.7269 GB, free: 108 kB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004793/0.1891, allocations: 137.7 kB / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.1892, allocations: 59.41 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1893, allocations: 117.8 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.1893, allocations: 33.69 kB / 0.7272 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.1894, allocations: 88.14 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.1894, allocations: 15.91 kB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.1895, allocations: 41.69 kB / 0.7273 GB, free: 15.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1896, allocations: 318.8 kB / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.1898, allocations: 55.95 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.19, allocations: 92.19 kB / 0.7278 GB, free: 15.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.1903, allocations: 141.9 kB / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1903, allocations: 0 / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005014/0.1908, allocations: 211.2 kB / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.1909, allocations: 41.64 kB / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1909, allocations: 0 / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1909, allocations: 8.062 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.191, allocations: 11.98 kB / 0.7282 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.191, allocations: 4 kB / 0.7282 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.1912, allocations: 39.84 kB / 0.7282 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.1912, allocations: 8 kB / 0.7282 GB, free: 14.6 MB / 0.545 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.00013/0.1914, allocations: 129.7 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.1914, allocations: 11.95 kB / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.1914, allocations: 8.375 kB / 0.7284 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1914, allocations: 4 kB / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1914, allocations: 0 / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1914, allocations: 0 / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.192, allocations: 370.5 kB / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.192, allocations: 0 / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.192, allocations: 15.92 kB / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.192, allocations: 4 kB / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.192, allocations: 0 / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.192, allocations: 0 / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.192, allocations: 0 / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.1924, allocations: 211.8 kB / 0.7289 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.1924, allocations: 81.06 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1925, allocations: 4 kB / 0.729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.1925, allocations: 7.984 kB / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.1926, allocations: 15.92 kB / 0.729 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1926, allocations: 4 kB / 0.729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.1927, allocations: 95.2 kB / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 0 / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000268/0.1929, allocations: 27.94 kB / 0.7292 GB, free: 13.52 MB / 0.545 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.0007547/0.1937, allocations: 0.7531 MB / 0.7299 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.1941, allocations: 163.3 kB / 0.7301 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1941, allocations: 256 / 0.7301 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1942, allocations: 39.91 kB / 0.7301 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1945, allocations: 25.45 kB / 0.7301 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.1969, allocations: 1.681 MB / 0.7318 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1972, allocations: 0.6918 MB / 0.7324 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.1972, allocations: 8 kB / 0.7324 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.1973, allocations: 19.42 kB / 0.7325 GB, free: 9.977 MB / 0.545 GB Notification: Performance of SimCode: time 6.52e-07/0.1973, allocations: 0 / 0.7325 GB, free: 9.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.2228, allocations: 2.556 MB / 0.735 GB, free: 7.535 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.459, allocations: 13.31 kB / 0.735 GB, free: 7.527 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.611614383989945] Failed to read output from testmodel.py, exit status != 0: 8.530915242154151 8.558774706 8.367640415 Calling exit ...