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.001458/0.001458, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001789/0.001789, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.492/1.492, 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.405/3.405, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.002053/0.002053, allocations: 67.59 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3555, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001846/0.3573, allocations: 0.5867 MB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3589, allocations: 1.128 MB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.3589, allocations: 4 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.3589, allocations: 3.938 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.359, allocations: 7.938 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.3595, allocations: 124.8 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3597, allocations: 87.89 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.3598, allocations: 7.922 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.3598, allocations: 43.84 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.3599, allocations: 27.91 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.36, allocations: 12 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.36, allocations: 23.97 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.36, allocations: 4 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.3601, allocations: 27.92 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.3603, allocations: 88 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3603, allocations: 0 / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3603, allocations: 0 / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3603, allocations: 0 / 1.365 GB, free: 11.88 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.0004596/0.3607, allocations: 300 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3608, allocations: 12.03 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.3608, allocations: 34.73 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.3609, allocations: 8.938 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.361, allocations: 114.4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.361, allocations: 4.359 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.361, allocations: 8.375 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.79e-05/0.3611, allocations: 42.19 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3611, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.3611, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.3611, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.3612, allocations: 15.98 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.3616, allocations: 240 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.3617, allocations: 34.45 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.3617, allocations: 16.91 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.3617, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.3619, allocations: 59.39 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.3619, allocations: 0 / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.3621, allocations: 73.58 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.3622, allocations: 55.39 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3623, allocations: 113.8 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.3623, allocations: 25.7 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3624, allocations: 84.14 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.3624, allocations: 15.94 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.3624, allocations: 29.7 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3626, allocations: 318.8 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3627, allocations: 57.69 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3628, allocations: 81.62 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3629, allocations: 92.14 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3629, allocations: 0 / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002888/0.3632, allocations: 184.9 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.3632, allocations: 41.75 kB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3633, allocations: 0 / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3633, allocations: 0 / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.3633, allocations: 8.062 kB / 1.367 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3633, allocations: 4.078 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3635, allocations: 23.97 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3635, allocations: 11.97 kB / 1.368 GB, free: 9.551 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 9.627e-05/0.3636, allocations: 122.9 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.3637, allocations: 0 / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3637, allocations: 12 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3637, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3637, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3637, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3638, allocations: 144.5 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3638, allocations: 0 / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.3638, allocations: 8 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3638, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3638, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3638, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3638, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.364, allocations: 97.23 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.364, allocations: 7.922 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.364, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.364, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.364, allocations: 8 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.364, allocations: 0 / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.3641, allocations: 87.27 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0 / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002126/0.3643, allocations: 20 kB / 1.368 GB, free: 8.973 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.0004771/0.3648, allocations: 0.6319 MB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.365, allocations: 141 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.365, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.3651, allocations: 15.98 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.3653, allocations: 15.92 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.3669, allocations: 1.513 MB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.367, allocations: 63.34 kB / 1.37 GB, free: 6.406 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.367, allocations: 8.125 kB / 1.37 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.367, allocations: 15.42 kB / 1.37 GB, free: 6.383 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.367, allocations: 0 / 1.37 GB, free: 6.383 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3975, allocations: 2.622 MB / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 8.219 kB / 1.373 GB, free: 3.914 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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] "Error: Could not read variable booToInt.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv. Warning: Get data of variable booToInt.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.838773720897734]