Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.00159/0.00159, allocations: 118.9 kB / 17.16 MB, free: 5.914 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.001706/0.001706, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.526/1.526, 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.888/2.888, allocations: 476.7 MB / 0.7678 GB, free: 9.383 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.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.002068/0.002068, allocations: 71.83 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.962/0.964, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002003/0.966, allocations: 0.599 MB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.9677, allocations: 1.154 MB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.9677, allocations: 1.125 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.9677, allocations: 4.641 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.9678, allocations: 5.906 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.9683, allocations: 127.8 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.9684, allocations: 91.56 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.914e-05/0.9685, allocations: 8.172 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.9686, allocations: 30.55 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.9687, allocations: 35.91 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.9687, allocations: 7.344 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/0.9687, allocations: 23.08 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.9688, allocations: 9.75 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.9688, allocations: 31.27 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.969, allocations: 89.47 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.969, allocations: 4 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.969, allocations: 1.062 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.969, 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006204/0.9696, allocations: 377.5 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.9697, allocations: 9.844 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.9697, allocations: 5.281 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.9697, allocations: 31.41 kB / 1.281 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.9698, allocations: 9.906 kB / 1.282 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.9699, allocations: 163.8 kB / 1.282 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.9699, allocations: 6.656 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.9699, allocations: 6.312 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.97, allocations: 43.56 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.97, allocations: 3.938 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.97, allocations: 0.6094 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.97, allocations: 5.047 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.9701, allocations: 10.56 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.9705, allocations: 293.8 kB / 1.282 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/0.9706, allocations: 30.95 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.9706, allocations: 12.88 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.9706, allocations: 0 / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.9707, allocations: 63.23 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9707, allocations: 0 / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002103/0.9709, allocations: 68.8 kB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.971, allocations: 57.67 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.9711, allocations: 114.3 kB / 1.282 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.9711, allocations: 28.36 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.9712, allocations: 87.39 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.9712, allocations: 18.8 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.9713, allocations: 29.48 kB / 1.283 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9714, allocations: 322.6 kB / 1.283 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.9715, allocations: 32.19 kB / 1.283 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.9716, allocations: 54.41 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.9718, allocations: 81.72 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.9718, allocations: 3.938 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003352/0.9721, allocations: 151.6 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.9722, allocations: 38.61 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.9722, allocations: 5.062 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9722, allocations: 1.75 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.9723, allocations: 2.531 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9723, allocations: 1.859 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.9725, allocations: 24.83 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.9725, allocations: 6.172 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.911e-05/0.9726, allocations: 120.3 kB / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.9726, allocations: 13.17 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.9726, allocations: 6.031 kB / 1.283 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9726, allocations: 1.469 kB / 1.283 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9726, allocations: 0 / 1.283 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.9726, allocations: 0.75 kB / 1.283 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.9728, allocations: 168.1 kB / 1.283 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9728, allocations: 0.7969 kB / 1.283 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.9728, allocations: 1.781 kB / 1.283 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.9728, allocations: 1.688 kB / 1.283 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.9728, allocations: 0.5156 kB / 1.283 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.9728, allocations: 4.453 kB / 1.283 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9728, allocations: 5.344 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.973, allocations: 82.62 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.973, allocations: 83.8 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.973, allocations: 1.766 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.973, allocations: 5.125 kB / 1.284 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.9731, allocations: 2.547 kB / 1.284 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.9731, allocations: 2.391 kB / 1.284 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.9731, allocations: 90.81 kB / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9731, allocations: 0 / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002152/0.9733, allocations: 19.94 kB / 1.284 GB, free: 7.676 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005077/0.9739, allocations: 0.6409 MB / 1.284 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.9741, allocations: 113.1 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9741, allocations: 3.938 kB / 1.285 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.9741, allocations: 12.75 kB / 1.285 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.9743, allocations: 7.047 kB / 1.285 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.9759, allocations: 1.391 MB / 1.286 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.9762, allocations: 0.6836 MB / 1.287 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.9762, allocations: 1.922 kB / 1.287 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.9763, allocations: 11.19 kB / 1.287 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.9763, allocations: 0 / 1.287 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.995, allocations: 2.071 MB / 1.289 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/9.364, allocations: 16.98 kB / 1.289 GB, free: 4.582 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.67140010301955] Failed to read output from testmodel.py, exit status != 0: 9.491756749048363 9.506960484 8.534959386 Calling exit ...