Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001275/0.001275, allocations: 113.5 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.001449/0.001449, allocations: 221.1 kB / 23.05 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.202/3.202, allocations: 0.49 GB / 0.7959 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_12_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.001975/0.001975, allocations: 70.28 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00205/0.3635, allocations: 0.7925 MB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3647, allocations: 0.9016 MB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.3647, allocations: 4 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.3647, allocations: 3.938 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.03e-05/0.3648, allocations: 11.88 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.365, allocations: 35.95 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3652, allocations: 87.75 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3653, allocations: 20.27 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.922e-05/0.3654, allocations: 39.91 kB / 1.329 GB, free: 44 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3655, allocations: 47.88 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3656, allocations: 8 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/0.3656, allocations: 8 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.3656, allocations: 27.8 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.3657, allocations: 35.78 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.3659, allocations: 87.67 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3659, allocations: 0 / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3659, allocations: 0 / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3659, allocations: 4 kB / 1.329 GB, free: 15.83 MB / 1.029 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.0006758/0.3666, allocations: 319.5 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3666, allocations: 8.031 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.761e-05/0.3666, allocations: 4.188 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.3667, allocations: 42.73 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3667, allocations: 8.891 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3669, allocations: 126.3 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3669, allocations: 4.375 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3669, allocations: 11.94 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.3673, allocations: 105.6 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3673, allocations: 3.984 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3673, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3673, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.3677, allocations: 91.91 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.3683, allocations: 315.7 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.3689, allocations: 114.6 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.3691, allocations: 60.8 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3691, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3692, allocations: 38.5 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3692, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006844/0.3699, allocations: 181.5 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3699, allocations: 59.34 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.37, allocations: 125.8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.37, allocations: 29.64 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.3701, allocations: 96.09 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.3701, allocations: 27.81 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3702, allocations: 21.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3703, allocations: 318.8 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.3705, allocations: 43.95 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3707, allocations: 47.89 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.3711, allocations: 105.2 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3711, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004284/0.3715, allocations: 141.5 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3715, allocations: 11.98 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3715, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3715, allocations: 4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3717, allocations: 23.97 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3717, allocations: 3.938 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3718, allocations: 19.88 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3718, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 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.0001101/0.372, allocations: 114.4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.372, allocations: 8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.372, allocations: 16.36 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.372, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.372, allocations: 7.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.372, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3723, allocations: 172.6 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3723, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3724, allocations: 23.97 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.3724, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3724, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3724, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3725, allocations: 3.938 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.373, allocations: 235.3 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.373, allocations: 7.938 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.373, allocations: 4 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3731, allocations: 11.98 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.3732, allocations: 23.91 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3732, allocations: 7.984 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.3733, allocations: 95.27 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3733, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002319/0.3735, allocations: 15.95 kB / 1.332 GB, free: 12.36 MB / 1.029 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.0008303/0.3744, allocations: 0.771 MB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004321/0.3748, allocations: 103.8 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3748, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.375, allocations: 71.81 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3754, allocations: 11.94 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.3777, allocations: 1.529 MB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.378, allocations: 0.6885 MB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.146e-05/0.378, allocations: 12 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.3781, allocations: 35.41 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3781, allocations: 0 / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.4013, allocations: 2.884 MB / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 6.953 kB / 1.338 GB, free: 6.266 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.34217878198251] Failed to read output from testmodel.py, exit status != 0: 11.714614449010696 11.737143851 11.367137146 Calling exit ...