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.001529/0.001529, allocations: 119.5 kB / 17.17 MB, free: 5.977 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.001804/0.001804, allocations: 205.5 kB / 20.13 MB, free: 3.039 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.885/2.885, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 176] 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.002305/0.002305, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9568/0.9591, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002021/0.9611, allocations: 0.7847 MB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.9623, allocations: 0.8956 MB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.9623, allocations: 1.156 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.9623, allocations: 13.14 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.9624, allocations: 9.844 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.9627, allocations: 39.14 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.9628, allocations: 86.66 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.9629, allocations: 26.58 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.28e-05/0.963, allocations: 36.45 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.735e-05/0.9631, allocations: 49.06 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.9631, allocations: 7.625 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.9631, allocations: 8.125 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.9632, allocations: 19.53 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.9632, allocations: 42.81 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.9634, allocations: 93.16 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9634, allocations: 0.7969 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9634, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.9634, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9981 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.0006712/0.964, allocations: 391 kB / 1.281 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.9641, allocations: 10.5 kB / 1.281 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.67e-05/0.9641, allocations: 9.625 kB / 1.281 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.9641, allocations: 34.38 kB / 1.281 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.9642, allocations: 8.875 kB / 1.281 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.9643, allocations: 183.6 kB / 1.282 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.9643, allocations: 2.875 kB / 1.282 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.9644, allocations: 11.47 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.9647, allocations: 105 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9647, allocations: 1.125 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.9647, allocations: 4 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9647, allocations: 2.281 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.9651, allocations: 96.59 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.9658, allocations: 337 kB / 1.282 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.9665, allocations: 124.2 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.9668, allocations: 61.05 kB / 1.282 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.9668, allocations: 1 kB / 1.282 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.9668, allocations: 36.3 kB / 1.282 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.9668, allocations: 4 kB / 1.282 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0007852/0.9676, allocations: 178.5 kB / 1.283 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.9677, allocations: 60.56 kB / 1.283 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.9678, allocations: 123.5 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.9678, allocations: 31.39 kB / 1.283 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.9679, allocations: 92.75 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.9679, allocations: 16.62 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.968, allocations: 22.2 kB / 1.283 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.9681, allocations: 319.6 kB / 1.283 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.9683, allocations: 44.02 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.9685, allocations: 57.27 kB / 1.283 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.9689, allocations: 100.3 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9689, allocations: 0 / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004488/0.9693, allocations: 146.8 kB / 1.284 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.9694, allocations: 5.797 kB / 1.284 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.9694, allocations: 0 / 1.284 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.9694, allocations: 5.375 kB / 1.284 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.9695, allocations: 23.8 kB / 1.284 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9695, allocations: 3.938 kB / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.9697, allocations: 17.3 kB / 1.284 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.9697, allocations: 1.969 kB / 1.284 GB, free: 8.32 MB / 0.9981 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.0001043/0.9698, allocations: 121 kB / 1.284 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.9698, allocations: 7.672 kB / 1.284 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.9699, allocations: 14.58 kB / 1.284 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9699, allocations: 1.75 kB / 1.284 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9699, allocations: 4.781 kB / 1.284 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9699, allocations: 0 / 1.284 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.9701, allocations: 202.4 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.9701, allocations: 0 / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.9703, allocations: 28.2 kB / 1.284 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.9703, allocations: 5.906 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.9703, allocations: 0.75 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9703, allocations: 0.9062 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9703, allocations: 5.891 kB / 1.284 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.9708, allocations: 226.4 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.9708, allocations: 87.14 kB / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.9709, allocations: 1.969 kB / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.971, allocations: 12.11 kB / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.9711, allocations: 24.06 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.9711, allocations: 4.641 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.9712, allocations: 91.98 kB / 1.284 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9712, allocations: 4.969 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002317/0.9714, allocations: 19.52 kB / 1.284 GB, free: 7.598 MB / 0.9981 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.001022/0.9724, allocations: 0.7667 MB / 1.285 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.9729, allocations: 109.4 kB / 1.285 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.9729, allocations: 1.219 kB / 1.285 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.9731, allocations: 60.03 kB / 1.285 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.9735, allocations: 15.92 kB / 1.285 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.9758, allocations: 1.553 MB / 1.287 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.9762, allocations: 0.694 MB / 1.288 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.9762, allocations: 12.09 kB / 1.288 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.9763, allocations: 30.91 kB / 1.288 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.9763, allocations: 4 kB / 1.288 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.9964, allocations: 2.749 MB / 1.29 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.691, allocations: 12.05 kB / 1.29 GB, free: 4.371 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.02274889399996] Failed to read output from testmodel.py, exit status != 0: 9.818949075008277 9.842868004 8.874936627 Calling exit ...