Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001526/0.001526, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001977/0.001977, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.797/2.797, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_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.002111/0.002111, allocations: 68.09 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3277, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002254/0.33, allocations: 0.7555 MB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3312, allocations: 0.8745 MB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.3313, allocations: 4 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.3313, allocations: 11.86 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.898e-05/0.3314, allocations: 15.86 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.3316, allocations: 39.95 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.3317, allocations: 83.83 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3318, allocations: 25.38 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.3319, allocations: 43.8 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.332, allocations: 47.81 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.332, allocations: 8 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.332, allocations: 8 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.3321, allocations: 19.92 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.3321, allocations: 31.86 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3323, allocations: 87.17 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3323, allocations: 4 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3323, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3323, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 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.0006821/0.333, allocations: 325.9 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.333, allocations: 12.03 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.567e-05/0.333, allocations: 192 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.3331, allocations: 38.75 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.3331, allocations: 12.88 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3333, allocations: 122.4 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3333, allocations: 8.375 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3333, allocations: 11.88 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.3337, allocations: 105.6 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3337, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3337, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3337, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.3341, allocations: 99.89 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.3347, allocations: 291.8 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.3354, allocations: 122.6 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3356, allocations: 56.81 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3356, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3357, allocations: 34.55 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3357, allocations: 0 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006938/0.3364, allocations: 189.4 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3364, allocations: 55.34 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3365, allocations: 121.8 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3366, allocations: 25.7 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.3366, allocations: 96.08 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.3367, allocations: 19.84 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3367, allocations: 29.64 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3369, allocations: 318.8 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.3371, allocations: 47.95 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.3374, allocations: 43.95 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.3379, allocations: 100.7 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3379, allocations: 0 / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000584/0.3385, allocations: 141.5 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3385, allocations: 11.94 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3385, allocations: 0 / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3385, allocations: 0 / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.3388, allocations: 23.97 kB / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3388, allocations: 3.938 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.3389, allocations: 15.98 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3389, allocations: 3.984 kB / 1.288 GB, free: 6.012 MB / 0.9825 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.0001083/0.339, allocations: 117.8 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.3391, allocations: 7.953 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.3391, allocations: 8.375 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3391, allocations: 4 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3391, allocations: 3.938 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3391, allocations: 0 / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3393, allocations: 164.7 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3393, allocations: 4 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.3395, allocations: 23.97 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3395, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3395, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3395, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3395, allocations: 3.938 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.34, allocations: 236 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.34, allocations: 11.89 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.34, allocations: 3.938 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3402, allocations: 15.97 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.3403, allocations: 31.89 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3403, allocations: 4 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.3404, allocations: 103.2 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3404, allocations: 0 / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002389/0.3406, allocations: 12 kB / 1.289 GB, free: 5.199 MB / 0.9825 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.0008317/0.3414, allocations: 0.7671 MB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.3419, allocations: 107.8 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3419, allocations: 0 / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.3421, allocations: 63.94 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3424, allocations: 16.69 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.3447, allocations: 1.536 MB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.16e-05/0.3448, allocations: 79.27 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.045e-05/0.3448, allocations: 11.98 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.3449, allocations: 31.42 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3449, allocations: 0 / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3704, allocations: 2.985 MB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.94, allocations: 12.27 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.62744906800799] Failed to read output from testmodel.py, exit status != 0: 12.625594991957769 12.124510939 11.788011781 Calling exit ...