Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 71.89 kB / 1.107 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.165, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001946/1.167, allocations: 0.7215 MB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000956/1.168, allocations: 0.8046 MB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/1.168, allocations: 0.875 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/1.168, allocations: 4.969 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/1.168, allocations: 6 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.02e-05/1.168, allocations: 10.14 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.601e-05/1.168, allocations: 43.27 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/1.168, allocations: 4.484 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/1.168, allocations: 29.12 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/1.168, allocations: 19.23 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/1.168, allocations: 3.156 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/1.168, allocations: 4.344 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/1.168, allocations: 11.31 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/1.168, allocations: 17.58 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/1.168, allocations: 45.86 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.168, allocations: 3.938 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/1.168, allocations: 0 / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.168, allocations: 0.7188 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004512/1.169, allocations: 365.6 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.169, allocations: 9.094 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/1.169, allocations: 36.23 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/1.169, allocations: 8 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.249e-05/1.169, allocations: 164.5 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/1.169, allocations: 1.219 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/1.169, allocations: 6.375 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/1.169, allocations: 72.84 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.169, allocations: 3.938 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.169, allocations: 0.875 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/1.169, allocations: 0 / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/1.17, allocations: 62.8 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/1.17, allocations: 274.8 kB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/1.17, allocations: 56.89 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/1.17, allocations: 41.73 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/1.17, allocations: 0.9375 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/1.17, allocations: 39.28 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.17, allocations: 0 / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005398/1.171, allocations: 126.3 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/1.171, allocations: 56.12 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/1.171, allocations: 109.9 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/1.171, allocations: 25.7 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/1.171, allocations: 95.75 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/1.171, allocations: 5.047 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/1.171, allocations: 18.53 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/1.171, allocations: 313.4 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/1.171, allocations: 33.19 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/1.171, allocations: 34.94 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/1.172, allocations: 72.08 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.172, allocations: 2.25 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003048/1.172, allocations: 99.91 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.172, allocations: 5.031 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.172, allocations: 1.422 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.172, allocations: 5 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/1.172, allocations: 21.8 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/1.172, allocations: 1 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/1.172, allocations: 12.12 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/1.172, allocations: 6.156 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.964e-05/1.172, allocations: 117.4 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/1.172, allocations: 1.938 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/1.172, allocations: 10.8 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.172, allocations: 1.156 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.172, allocations: 0 / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/1.172, allocations: 0 / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/1.172, allocations: 174.7 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.172, allocations: 2.656 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/1.172, allocations: 18.5 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.173, allocations: 0 / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/1.173, allocations: 0.8438 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.173, allocations: 1.406 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.173, allocations: 0 / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/1.173, allocations: 207.1 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/1.173, allocations: 78.11 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/1.173, allocations: 0.9375 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/1.173, allocations: 12.2 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/1.173, allocations: 2.797 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/1.173, allocations: 1.031 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.149e-05/1.173, allocations: 93.02 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.173, allocations: 0 / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000217/1.173, allocations: 9.688 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005549/1.174, allocations: 0.7319 MB / 1.277 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003664/1.174, allocations: 70.66 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.174, allocations: 0 / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/1.174, allocations: 37.72 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.175, allocations: 14.47 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/1.175, allocations: 180 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/1.175, allocations: 0.6852 MB / 1.278 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.768e-05/1.175, allocations: 0.75 kB / 1.278 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/1.175, allocations: 17.5 kB / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.175, allocations: 0 / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/1.201, allocations: 1.612 MB / 1.279 GB, free: 18.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/9.003, allocations: 9.391 kB / 1.279 GB, free: 18.05 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.46694971897523] Failed to read output from testmodel.py, exit status != 0: 9.072226572985528 9.097572958 7.924842374 Calling exit ...