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.001879/0.001879, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002679/0.002679, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.196/3.196, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.002855/0.002855, allocations: 69.88 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3836, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002066/0.3857, allocations: 0.7863 MB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3868, allocations: 0.8937 MB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.3868, allocations: 0 / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.3869, allocations: 7.922 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.799e-05/0.387, allocations: 11.88 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.3871, allocations: 43.88 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3873, allocations: 83.89 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3874, allocations: 24.25 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.3875, allocations: 35.86 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.3876, allocations: 47.77 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.3876, allocations: 8 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.778e-05/0.3876, allocations: 8 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.3877, allocations: 23.91 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.3877, allocations: 39.8 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.3879, allocations: 83.66 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3879, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3879, allocations: 4 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3879, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 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.0006422/0.3885, allocations: 322 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3885, allocations: 8.031 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.022e-05/0.3886, allocations: 8.188 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.3886, allocations: 34.75 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.3886, allocations: 12.88 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3888, allocations: 130.4 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3888, allocations: 4.375 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.3888, allocations: 7.938 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.3891, allocations: 104.1 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3891, allocations: 3.938 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3891, allocations: 4 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3892, allocations: 7.984 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.3895, allocations: 99.89 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.3901, allocations: 307.7 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.3908, allocations: 118.5 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.391, allocations: 60.81 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.391, allocations: 0 / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3911, allocations: 34.56 kB / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.3911, allocations: 0 / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0007554/0.3918, allocations: 185.5 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.3919, allocations: 59.34 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.392, allocations: 125.8 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.392, allocations: 29.7 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.3921, allocations: 88.09 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.3922, allocations: 27.73 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.3922, allocations: 29.7 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3924, allocations: 322.8 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3926, allocations: 43.95 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3928, allocations: 43.95 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.3931, allocations: 104.8 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3931, allocations: 0 / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004339/0.3936, allocations: 129.5 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.3936, allocations: 8 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3936, allocations: 0 / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3936, allocations: 0 / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.3938, allocations: 35.91 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.3938, allocations: 3.938 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.394, allocations: 15.97 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.394, allocations: 3.938 kB / 1.35 GB, free: 11.71 MB / 1.045 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 0.0001252/0.3941, allocations: 113.8 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.3941, allocations: 7.953 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.3942, allocations: 8.375 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3942, allocations: 8 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3942, allocations: 3.938 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3942, allocations: 3.984 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3944, allocations: 164.7 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3944, allocations: 0 / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.3946, allocations: 27.97 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3946, allocations: 0 / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3946, allocations: 3.984 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3946, allocations: 0 / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/0.3946, allocations: 3.938 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.3952, allocations: 239.9 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.3952, allocations: 11.89 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.3953, allocations: 4 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3954, allocations: 15.98 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3955, allocations: 23.91 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3955, allocations: 4 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.121e-05/0.3956, allocations: 91.27 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3956, allocations: 0 / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002469/0.3959, allocations: 16 kB / 1.351 GB, free: 10.91 MB / 1.045 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.0009258/0.3968, allocations: 0.7827 MB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.3972, allocations: 95.91 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3972, allocations: 4 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.3975, allocations: 75.8 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3978, allocations: 14.52 kB / 1.351 GB, free: 9.918 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.4001, allocations: 1.521 MB / 1.353 GB, free: 8.316 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4005, allocations: 0.6922 MB / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.775e-05/0.4005, allocations: 15.75 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.4006, allocations: 35.36 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.4006, allocations: 0 / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.4239, allocations: 2.883 MB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.87, allocations: 6.938 kB / 1.356 GB, free: 4.805 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.78663173003588] Failed to read output from testmodel.py, exit status != 0: 12.040501762006897 12.066369201 11.673654487 Calling exit ...