Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.001325/0.001325, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001537/0.001537, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.048/3.048, allocations: 0.5003 GB / 0.8026 GB, free: 6.68 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00204/0.00204, allocations: 63.91 kB / 1.165 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9632/0.9652, allocations: 179 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002044/0.9673, allocations: 0.7816 MB / 1.341 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.9683, allocations: 0.8954 MB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.9683, allocations: 4.906 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.9683, allocations: 5.438 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.097e-05/0.9684, allocations: 9.734 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.9686, allocations: 46.84 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.9687, allocations: 82.5 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.9688, allocations: 22.42 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.9689, allocations: 36.83 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.969, allocations: 45.31 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.969, allocations: 8.781 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.9691, allocations: 11.03 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.9691, allocations: 28.19 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.9691, allocations: 35.28 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.9693, allocations: 83.41 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9693, allocations: 2.047 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9693, allocations: 0 / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.9693, allocations: 0 / 1.342 GB, free: 14.84 MB / 1.061 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.000608/0.9699, allocations: 394.8 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.9699, allocations: 14.64 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.97, allocations: 1.562 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.97, allocations: 38.59 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.97, allocations: 8.422 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.9701, allocations: 186.7 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.9702, allocations: 7.344 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.9702, allocations: 7.672 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.9705, allocations: 104.4 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9705, allocations: 6.312 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.9705, allocations: 4 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9705, allocations: 1.219 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.9709, allocations: 97.14 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.9714, allocations: 346 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.972, allocations: 115.5 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.9722, allocations: 57.05 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.9722, allocations: 1.406 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.9722, allocations: 35.97 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.9722, allocations: 0 / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.000685/0.9729, allocations: 183.1 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.9729, allocations: 60.72 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.973, allocations: 124.3 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.973, allocations: 29.7 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.9731, allocations: 91.98 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.9731, allocations: 25.03 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.9731, allocations: 22.39 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.9732, allocations: 315 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.9734, allocations: 49.27 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.9736, allocations: 50.09 kB / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.9739, allocations: 92.03 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.9739, allocations: 0 / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004259/0.9743, allocations: 146.8 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.9743, allocations: 6.016 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9744, allocations: 0 / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.9744, allocations: 0 / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.9745, allocations: 28.64 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.9746, allocations: 5.312 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.9747, allocations: 19.78 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.9747, allocations: 6.5 kB / 1.345 GB, free: 12.83 MB / 1.061 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.15e-05/0.9747, allocations: 116.9 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.9748, allocations: 6.703 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.9748, allocations: 15.05 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9748, allocations: 1.375 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9748, allocations: 3.938 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9748, allocations: 2.078 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.975, allocations: 194.3 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.975, allocations: 4 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.9751, allocations: 28.47 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9751, allocations: 0 / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.9752, allocations: 6.547 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9752, allocations: 0.5156 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9752, allocations: 5.312 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.9756, allocations: 238.9 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.9756, allocations: 84.47 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.9756, allocations: 1.375 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.9758, allocations: 16.36 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.9759, allocations: 24.77 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.9759, allocations: 2.797 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.9759, allocations: 92.77 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9759, allocations: 2.125 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000229/0.9761, allocations: 15.06 kB / 1.346 GB, free: 12.11 MB / 1.061 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.0006226/0.9768, allocations: 0.7756 MB / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.9772, allocations: 106.9 kB / 1.346 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.9772, allocations: 0 / 1.346 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.9774, allocations: 67.27 kB / 1.346 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.9778, allocations: 10.12 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.9797, allocations: 1.529 MB / 1.348 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.9798, allocations: 0.6936 MB / 1.349 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.033e-05/0.9798, allocations: 8.422 kB / 1.349 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.9799, allocations: 34.98 kB / 1.349 GB, free: 9.371 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.9799, allocations: 0 / 1.349 GB, free: 9.371 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/1.006, allocations: 2.767 MB / 1.351 GB, free: 8.898 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/9.576, allocations: 9.062 kB / 1.351 GB, free: 8.895 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.154177360003814] Failed to read output from testmodel.py, exit status != 0: 9.717758426035289 9.748308592 8.774206003 Calling exit ...