Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007947/0.007947, allocations: 101.6 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 195.5 kB / 16.67 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 63.72 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2616, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00197/0.2636, allocations: 0.6029 MB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2651, allocations: 1.118 MB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.2652, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.2653, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.2654, allocations: 7.938 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/0.266, allocations: 127.4 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.2662, allocations: 95.83 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2663, allocations: 7.984 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2664, allocations: 35.92 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2666, allocations: 39.95 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.2667, allocations: 8 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.624e-05/0.2668, allocations: 19.98 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.2668, allocations: 8 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.2669, allocations: 39.7 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.2671, allocations: 75.84 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2671, allocations: 3.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2671, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2671, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 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.0006322/0.2678, allocations: 384.5 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.2678, allocations: 12.03 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.2679, allocations: 30.75 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.2679, allocations: 4.938 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.2681, allocations: 172.5 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.2682, allocations: 8.375 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.2682, allocations: 8.312 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.2683, allocations: 38.25 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2683, allocations: 3.938 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2683, allocations: 4 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2684, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.2684, allocations: 7.984 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.2689, allocations: 292.9 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.269, allocations: 34.44 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.269, allocations: 12.92 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2691, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.2693, allocations: 59.39 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2693, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000195/0.2695, allocations: 73.81 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.2696, allocations: 55.41 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.2696, allocations: 109.8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.2697, allocations: 25.7 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.2697, allocations: 92.12 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.2698, allocations: 3.906 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.2698, allocations: 33.7 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2699, allocations: 314.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.27, allocations: 35.97 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.2701, allocations: 50.55 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.2702, allocations: 100.2 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2702, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002716/0.2705, allocations: 143.3 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.2706, allocations: 47.11 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2706, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2706, allocations: 3.984 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.2707, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2707, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.2709, allocations: 31.81 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.2709, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 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.204e-05/0.271, allocations: 123.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.271, allocations: 7.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.271, allocations: 3.906 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2711, allocations: 3.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2711, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2711, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.2712, allocations: 169.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2712, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.2713, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2713, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2713, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2713, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2713, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.2714, allocations: 88.97 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.2715, allocations: 81.09 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2715, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.2715, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.2716, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2716, allocations: 4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.2716, allocations: 99.59 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.2716, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002221/0.2719, allocations: 15.94 kB / 1.092 GB, free: 12.7 MB / 0.8575 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.0004897/0.2724, allocations: 0.6244 MB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.2726, allocations: 127.3 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2727, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.427e-05/0.2727, allocations: 19.98 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.273, allocations: 7.984 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2746, allocations: 1.4 MB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.2749, allocations: 0.6884 MB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.2749, allocations: 256 / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.275, allocations: 11.44 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.275, allocations: 0 / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05298/0.328, allocations: 2.044 MB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.99, allocations: 12.72 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches