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.001982/0.001982, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002472/0.002472, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.242/3.242, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.001996/0.001996, allocations: 62.97 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3788, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002486/0.3813, allocations: 0.7708 MB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.3826, allocations: 0.8743 MB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.3827, allocations: 0 / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.3828, allocations: 7.922 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3829, allocations: 15.86 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3831, allocations: 39.89 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.3832, allocations: 79.88 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3834, allocations: 24.27 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.3835, allocations: 39.86 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3836, allocations: 51.81 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.3836, allocations: 8 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.3836, allocations: 11.94 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.3837, allocations: 19.92 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.3837, allocations: 23.86 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3839, allocations: 91.64 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3839, allocations: 4 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3839, allocations: 0 / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3839, allocations: 0 / 1.347 GB, free: 13.88 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.0006832/0.3846, allocations: 333.9 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3846, allocations: 8.031 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.539e-05/0.3846, allocations: 4.188 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.3847, allocations: 34.75 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.3847, allocations: 8.891 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3849, allocations: 126.4 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3849, allocations: 4.375 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3849, allocations: 7.938 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.3852, allocations: 105.6 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3852, allocations: 0 / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3853, allocations: 0 / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3853, allocations: 4 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.3856, allocations: 95.91 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.3862, allocations: 299.8 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.3869, allocations: 114.5 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.3871, allocations: 56.88 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3871, allocations: 7.938 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3872, allocations: 30.56 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3872, allocations: 0 / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0007535/0.3879, allocations: 189.4 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.388, allocations: 55.34 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3881, allocations: 117.8 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3881, allocations: 29.7 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.3882, allocations: 96.08 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.3882, allocations: 23.8 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.3883, allocations: 25.64 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3884, allocations: 322.8 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3886, allocations: 47.95 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.3887, allocations: 47.89 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.3891, allocations: 92.77 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3891, allocations: 4 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004158/0.3895, allocations: 138 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3895, allocations: 4 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3895, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3895, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.3897, allocations: 23.97 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3897, allocations: 11.88 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3898, allocations: 15.98 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3899, allocations: 8.062 kB / 1.35 GB, free: 11.24 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 9.858e-05/0.39, allocations: 113.8 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.39, allocations: 11.94 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.39, allocations: 8.375 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.39, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.39, allocations: 3.938 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.39, allocations: 4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3903, allocations: 156.7 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3903, allocations: 4 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.3904, allocations: 27.97 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3904, allocations: 0 / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3904, allocations: 4 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3904, allocations: 3.984 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3904, allocations: 3.938 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.3909, allocations: 239.3 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.391, allocations: 11.89 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.391, allocations: 4 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3912, allocations: 15.97 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3913, allocations: 23.91 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3913, allocations: 4 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.3914, allocations: 95.2 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3914, allocations: 0 / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002413/0.3916, allocations: 16 kB / 1.35 GB, free: 10.44 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.0008341/0.3924, allocations: 0.7748 MB / 1.351 GB, free: 9.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.3929, allocations: 103.9 kB / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3929, allocations: 4 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3931, allocations: 63.89 kB / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3934, allocations: 11.94 kB / 1.351 GB, free: 9.457 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.3958, allocations: 1.525 MB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.3959, allocations: 79.08 kB / 1.353 GB, free: 7.754 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.878e-05/0.396, allocations: 12 kB / 1.353 GB, free: 7.742 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.3961, allocations: 31.41 kB / 1.353 GB, free: 7.711 MB / 1.045 GB Notification: Performance of SimCode: time 3.7e-07/0.3961, allocations: 0 / 1.353 GB, free: 7.711 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.4204, allocations: 2.999 MB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.88, allocations: 11.84 kB / 1.356 GB, free: 4.859 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.757650878978893] Failed to read output from testmodel.py, exit status != 0: 12.04423278698232 12.060917118 11.673888375 Calling exit ...