Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001403/0.001403, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001441/0.001441, allocations: 215.2 kB / 22.25 MB, free: 5.109 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.293/3.293, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_12_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.00228/0.00228, allocations: 71.44 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3642, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002551/0.3668, allocations: 0.5959 MB / 1.326 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3688, allocations: 1.132 MB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.3689, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.3689, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.369, allocations: 11.92 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.3696, allocations: 123.6 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.3698, allocations: 95.81 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.3699, allocations: 7.938 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.37, allocations: 27.98 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.3701, allocations: 35.88 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.3702, allocations: 8 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.3703, allocations: 27.92 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.3703, allocations: 4 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.3703, allocations: 27.92 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3706, allocations: 88 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3706, allocations: 0 / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3706, allocations: 4 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3706, allocations: 0 / 1.327 GB, free: 204 kB / 1.014 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.0005255/0.3711, allocations: 300 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3711, allocations: 12.03 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.3712, allocations: 30.75 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.3712, allocations: 8.891 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3714, allocations: 114.5 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3714, allocations: 4.312 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.3714, allocations: 8.312 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.3715, allocations: 46.23 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3715, allocations: 3.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.3715, allocations: 8 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3716, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.3716, allocations: 12 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.372, allocations: 248 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.3721, allocations: 30.45 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.3722, allocations: 12.92 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.3722, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.3724, allocations: 63.34 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3724, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002266/0.3726, allocations: 77.61 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.3726, allocations: 51.41 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3727, allocations: 109.8 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3728, allocations: 29.7 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.3728, allocations: 92.09 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.3728, allocations: 3.953 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.3729, allocations: 29.7 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3731, allocations: 322.8 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3732, allocations: 57.69 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3733, allocations: 80.25 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3734, allocations: 96.14 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3734, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002961/0.3737, allocations: 177 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.3738, allocations: 41.69 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3738, allocations: 400 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3738, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.3739, allocations: 7.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3739, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3741, allocations: 28.03 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.3741, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 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.0001104/0.3742, allocations: 130.2 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.3742, allocations: 3.953 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.3743, allocations: 8 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3743, allocations: 3.938 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3743, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3743, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.3744, allocations: 136.7 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3744, allocations: 4 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.3744, allocations: 4.062 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3744, allocations: 4 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3744, allocations: 3.984 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3744, allocations: 3.984 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3744, allocations: 0 / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.3746, allocations: 85.06 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3746, allocations: 8.172 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3746, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.3746, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.3747, allocations: 11.92 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3747, allocations: 7.984 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.3747, allocations: 91.25 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3747, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002306/0.3749, allocations: 20 kB / 1.33 GB, free: 13.27 MB / 1.029 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.0004839/0.3754, allocations: 0.6202 MB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3757, allocations: 141 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3757, allocations: 0 / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.3757, allocations: 11.98 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.3759, allocations: 15.86 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3776, allocations: 1.516 MB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.487e-05/0.3777, allocations: 67.34 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.3777, allocations: 3.906 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.3777, allocations: 19.38 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3777, allocations: 0 / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.4084, allocations: 2.625 MB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.71, allocations: 10.62 kB / 1.335 GB, free: 8.219 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv. Warning: Get data of variable booToInt.u from file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.7059333762154]