Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.002201/0.002201, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.002286/0.002286, allocations: 186 kB / 20.78 MB, free: 1.539 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.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.758/2.758, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] 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.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.91 kB / 1.107 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9373/0.9392, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002114/0.9413, allocations: 0.7913 MB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.9424, allocations: 0.8595 MB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.9425, allocations: 1.906 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.251e-05/0.9425, allocations: 9.047 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.9426, allocations: 18.56 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.9428, allocations: 41.23 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.943, allocations: 84.12 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.9431, allocations: 21.45 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.9432, allocations: 40.36 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.9433, allocations: 49.2 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.9433, allocations: 8.156 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.9433, allocations: 7.594 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.9434, allocations: 22.94 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.9434, allocations: 35.67 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.9436, allocations: 97.8 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9436, allocations: 0.7812 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9436, allocations: 0 / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.9436, allocations: 0 / 1.274 GB, free: 6.344 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005627/0.9441, allocations: 391.4 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.9442, allocations: 9.469 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.9442, allocations: 37.94 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.9443, allocations: 8.891 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.9444, allocations: 179.6 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.9444, allocations: 3.406 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.9444, allocations: 11.62 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.9447, allocations: 107.1 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9447, allocations: 0 / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.9447, allocations: 0.8125 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.9447, allocations: 1.125 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.9451, allocations: 102.2 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.9456, allocations: 338.5 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.9462, allocations: 124.4 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.9464, allocations: 58.81 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.9464, allocations: 8.766 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.9464, allocations: 31.69 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.9464, allocations: 0 / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006538/0.947, allocations: 189.2 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.9471, allocations: 52.38 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.9471, allocations: 125 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.9472, allocations: 26.42 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.9472, allocations: 100.5 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.9472, allocations: 15.5 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.9473, allocations: 28.72 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.9473, allocations: 317.3 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.9475, allocations: 44.59 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.9477, allocations: 44.05 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.948, allocations: 105.2 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.948, allocations: 0 / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003984/0.9484, allocations: 138.4 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.9484, allocations: 8.75 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.9484, allocations: 3.422 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9484, allocations: 4.875 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.9486, allocations: 21.97 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.9486, allocations: 4.719 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.9487, allocations: 17.69 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.9487, allocations: 5.812 kB / 1.276 GB, free: 4.344 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.479e-05/0.9488, allocations: 114.3 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.9488, allocations: 7.328 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.9489, allocations: 14.5 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.9489, allocations: 1.531 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9489, allocations: 3.938 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9489, allocations: 1.453 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.949, allocations: 198.3 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.949, allocations: 0.875 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.9492, allocations: 27.36 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9492, allocations: 4.875 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.9492, allocations: 2.844 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9492, allocations: 0.6562 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9492, allocations: 8.625 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.9496, allocations: 231.3 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.9497, allocations: 83.7 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.9497, allocations: 2.047 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.9498, allocations: 15.11 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.9499, allocations: 25.47 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.9499, allocations: 3.453 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.95, allocations: 98.36 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.95, allocations: 3.938 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002282/0.9502, allocations: 12.06 kB / 1.277 GB, free: 3.621 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006208/0.9508, allocations: 0.7766 MB / 1.278 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.9512, allocations: 106.7 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9512, allocations: 4 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.9514, allocations: 56.5 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.9517, allocations: 13.64 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.9536, allocations: 1.552 MB / 1.279 GB, free: 17.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.954, allocations: 0.698 MB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.473e-05/0.954, allocations: 11.52 kB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.9541, allocations: 32.61 kB / 1.28 GB, free: 16.87 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/0.9541, allocations: 0 / 1.28 GB, free: 16.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.9785, allocations: 2.7 MB / 1.283 GB, free: 16.44 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.018/9.996, allocations: 8.5 kB / 1.283 GB, free: 16.43 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.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_Integers_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.196194856980583] Failed to read output from testmodel.py, exit status != 0: 10.066919550008606 10.093217488 9.144932409 Calling exit ...