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.001949/0.001949, 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.001701/0.001701, allocations: 218.5 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.81/2.81, allocations: 476.7 MB / 0.7714 GB, free: 4.316 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.002148/0.002148, allocations: 68.59 kB / 1.118 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3295, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002368/0.3318, allocations: 0.7852 MB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3331, allocations: 0.8939 MB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.3332, allocations: 4 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.3332, allocations: 7.922 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3333, allocations: 11.88 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3336, allocations: 47.88 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3337, allocations: 83.83 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3338, allocations: 15.98 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.334, allocations: 35.92 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.3341, allocations: 51.81 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.3341, allocations: 8 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.3341, allocations: 11.94 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.3342, allocations: 19.92 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.3342, allocations: 39.78 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.3344, allocations: 87.17 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3344, allocations: 0 / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3344, allocations: 4 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3344, allocations: 0 / 1.286 GB, free: 9.57 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.0007668/0.3352, allocations: 322 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3352, allocations: 8.031 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.892e-05/0.3353, allocations: 8.125 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.3353, allocations: 34.75 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.3354, allocations: 12.88 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.3355, allocations: 118.4 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3355, allocations: 12.31 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.3356, allocations: 7.938 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.3359, allocations: 109.4 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3359, allocations: 0 / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3359, allocations: 4 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.3359, allocations: 4 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.3363, allocations: 91.89 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.337, allocations: 323.7 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.3377, allocations: 110.6 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.3379, allocations: 64.8 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3379, allocations: 3.938 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.3379, allocations: 30.56 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3379, allocations: 4 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007409/0.3387, allocations: 185.5 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3387, allocations: 55.34 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3389, allocations: 121.8 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3389, allocations: 29.7 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.339, allocations: 92.09 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.339, allocations: 19.84 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.3391, allocations: 25.7 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3392, allocations: 314.8 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3394, allocations: 51.95 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3396, allocations: 51.83 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.34, allocations: 88.78 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.34, allocations: 7.984 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000429/0.3404, allocations: 133.6 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3405, allocations: 4 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3405, allocations: 0 / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3405, allocations: 4 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.3407, allocations: 23.97 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3407, allocations: 11.88 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3408, allocations: 23.92 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3408, allocations: 4 kB / 1.289 GB, free: 6.914 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.0001181/0.3409, allocations: 113.8 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.341, allocations: 4 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.341, allocations: 8.375 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.341, allocations: 0 / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.341, allocations: 7.938 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.341, allocations: 7.984 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.3413, allocations: 172.6 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3413, allocations: 0 / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3414, allocations: 23.97 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3414, allocations: 7.938 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3414, allocations: 7.984 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3414, allocations: 0 / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3414, allocations: 3.938 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.342, allocations: 235.3 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.342, allocations: 4 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.342, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3421, allocations: 15.98 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.3422, allocations: 23.91 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3422, allocations: 4 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.621e-05/0.3423, allocations: 95.7 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3423, allocations: 0 / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002514/0.3426, allocations: 19.95 kB / 1.289 GB, free: 6.102 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.0008497/0.3434, allocations: 0.7754 MB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.3439, allocations: 99.97 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3439, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3441, allocations: 71.88 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3444, allocations: 7.938 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.3468, allocations: 1.543 MB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3471, allocations: 0.6885 MB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.544e-05/0.3472, allocations: 12 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.3472, allocations: 27.42 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.3472, allocations: 0 / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.3714, allocations: 2.882 MB / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.74, allocations: 8.812 kB / 1.295 GB, free: 12 kB / 0.9825 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.464037048979662] Failed to read output from testmodel.py, exit status != 0: 12.464339422993362 11.917257973 11.579478103 Calling exit ...