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.001529/0.001529, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001543/0.001543, allocations: 214 kB / 23.03 MB, free: 4.953 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.25/3.25, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.001947/0.001947, allocations: 65.33 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002463/0.3587, allocations: 0.7696 MB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.36, allocations: 0.8821 MB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.3601, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.3601, allocations: 11.86 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.3602, allocations: 19.86 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3604, allocations: 35.95 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3606, allocations: 79.83 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3607, allocations: 24.25 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.3608, allocations: 35.86 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.3609, allocations: 51.81 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3609, allocations: 8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.3609, allocations: 8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.361, allocations: 19.92 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.361, allocations: 27.86 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.3612, allocations: 95.59 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3612, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3612, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3612, allocations: 0 / 1.329 GB, free: 15.4 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.0006384/0.3618, allocations: 322 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3619, allocations: 8.031 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/0.3619, allocations: 12.12 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.3619, allocations: 30.75 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3619, allocations: 8.891 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3621, allocations: 134.4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3621, allocations: 384 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3621, allocations: 19.81 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.3624, allocations: 106.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3625, allocations: 3.984 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3625, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3625, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.3629, allocations: 103.9 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.3634, allocations: 287.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.3641, allocations: 114.6 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3643, allocations: 52.81 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3643, allocations: 8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3643, allocations: 34.56 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3643, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006711/0.365, allocations: 185.4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.365, allocations: 59.34 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3651, allocations: 121.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3652, allocations: 29.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.3652, allocations: 96.09 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.3652, allocations: 11.84 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.3653, allocations: 25.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3654, allocations: 318.8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.3656, allocations: 47.89 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.3658, allocations: 47.95 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.3661, allocations: 104.7 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3661, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004264/0.3666, allocations: 138 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3666, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3666, allocations: 4.078 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3666, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.3668, allocations: 23.97 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.3668, allocations: 7.922 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3669, allocations: 19.92 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3669, allocations: 4 kB / 1.331 GB, free: 12.76 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.0001077/0.367, allocations: 122.3 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.3671, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.3671, allocations: 12.38 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.3671, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3671, allocations: 3.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.3671, allocations: 3.984 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3673, allocations: 156.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3673, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.3675, allocations: 23.97 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3675, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3675, allocations: 11.94 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3675, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3675, allocations: 3.938 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.368, allocations: 235.4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.368, allocations: 7.938 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3681, allocations: 7.922 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3682, allocations: 15.98 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.3683, allocations: 23.91 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.3683, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.782e-05/0.3684, allocations: 95.27 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3684, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002437/0.3686, allocations: 19.89 kB / 1.332 GB, free: 11.95 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.0008014/0.3694, allocations: 0.7593 MB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.3698, allocations: 115.8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3698, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.37, allocations: 59.94 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3704, allocations: 11.92 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.3729, allocations: 1.524 MB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.439e-05/0.373, allocations: 79.33 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.352e-05/0.3731, allocations: 15.98 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.792e-05/0.3731, allocations: 27.41 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of SimCode: time 8.31e-07/0.3732, allocations: 4 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.3977, allocations: 3.001 MB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.74, allocations: 4.766 kB / 1.337 GB, free: 6.387 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.684370525064878] Failed to read output from testmodel.py, exit status != 0: 11.911194229964167 11.943013885 11.576243928 Calling exit ...