Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00143/0.00143, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00163/0.00163, allocations: 215.4 kB / 22.24 MB, free: 5.262 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.331/3.331, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",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.002097/0.002097, allocations: 66.42 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3937, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001866/0.3956, allocations: 0.6087 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3972, allocations: 1.132 MB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.3972, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.3972, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.3973, allocations: 3.938 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.3978, allocations: 136.3 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3979, allocations: 87.83 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.588e-05/0.398, allocations: 11.98 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.3981, allocations: 35.91 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.3982, allocations: 27.91 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3982, allocations: 8 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.3983, allocations: 19.98 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.3983, allocations: 7.984 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.3983, allocations: 27.92 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3985, allocations: 91.94 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3985, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3985, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3985, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 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.0004493/0.399, allocations: 305.7 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.399, allocations: 8.031 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.399, allocations: 34.75 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.3991, allocations: 8.922 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3992, allocations: 114.4 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3992, allocations: 4.375 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3992, allocations: 8.375 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.291e-05/0.3993, allocations: 38.25 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3993, allocations: 3.938 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3994, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3994, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.3994, allocations: 12 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3998, allocations: 248 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.85e-05/0.3999, allocations: 30.45 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.3999, allocations: 16.91 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.3999, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.4001, allocations: 59.39 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4001, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002029/0.4003, allocations: 77.58 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.4003, allocations: 55.34 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.829e-05/0.4004, allocations: 109.8 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.4004, allocations: 29.7 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.4005, allocations: 88.12 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.4005, allocations: 9.016 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.4006, allocations: 33.69 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4007, allocations: 314.8 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.4008, allocations: 61.69 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.4009, allocations: 80.25 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.4011, allocations: 96.2 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4011, allocations: 4 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002934/0.4014, allocations: 181 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.4014, allocations: 37.69 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4014, allocations: 4 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.4014, allocations: 0 / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.4015, allocations: 4 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4015, allocations: 0 / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4017, allocations: 24.2 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.4017, allocations: 15.98 kB / 1.368 GB, free: 9.613 MB / 1.061 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 0.0001089/0.4018, allocations: 121.7 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.4018, allocations: 4 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.4018, allocations: 7.984 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4018, allocations: 0 / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4019, allocations: 4 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4019, allocations: 0 / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.402, allocations: 136.7 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.402, allocations: 3.984 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.402, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.402, allocations: 4 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.402, allocations: 4 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.402, allocations: 0 / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.402, allocations: 0 / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.4022, allocations: 85.02 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.4022, allocations: 11.94 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.4022, allocations: 3.984 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.4022, allocations: 3.938 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.4022, allocations: 7.938 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.4022, allocations: 4 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.4023, allocations: 87.27 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4023, allocations: 4 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002084/0.4025, allocations: 16 kB / 1.368 GB, free: 9.031 MB / 1.061 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.0004819/0.403, allocations: 0.6241 MB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.4032, allocations: 149 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4032, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.4033, allocations: 8 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.4035, allocations: 9.5 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.4051, allocations: 1.525 MB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.4052, allocations: 63.44 kB / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.4052, allocations: 7.938 kB / 1.37 GB, free: 6.461 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.4052, allocations: 15.42 kB / 1.37 GB, free: 6.445 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.4052, allocations: 0 / 1.37 GB, free: 6.445 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.4368, allocations: 2.632 MB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.89, allocations: 0.5625 kB / 1.373 GB, free: 3.973 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.71638421388343]