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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01202/0.01202, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002455/0.002455, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.662/2.662, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 61.78 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2875, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002047/0.2896, allocations: 0.6029 MB / 1.088 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2911, allocations: 1.114 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.2912, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.2912, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.2913, allocations: 3.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.2918, allocations: 126.7 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.292, allocations: 95.83 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.2921, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.2922, allocations: 39.89 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.2923, allocations: 39.89 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2923, allocations: 11.94 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.2924, allocations: 19.98 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.2924, allocations: 7.984 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.2925, allocations: 31.86 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.2926, allocations: 79.84 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2926, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2926, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2926, allocations: 0 / 1.09 GB, free: 15.3 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.0004821/0.2931, allocations: 385.1 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2932, allocations: 8.031 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.2932, allocations: 8.922 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2934, allocations: 172.3 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2934, allocations: 384 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.2934, allocations: 4.375 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2935, allocations: 50.17 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2936, allocations: 192 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2936, allocations: 7.938 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2936, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.2936, allocations: 12 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.294, allocations: 292.8 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.2941, allocations: 34.45 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.2941, allocations: 12.91 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.2942, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.2943, allocations: 67.39 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.2943, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.2945, allocations: 69.62 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.2946, allocations: 51.41 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.2946, allocations: 113.8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.2947, allocations: 29.7 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.2947, allocations: 84.12 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.2948, allocations: 15.89 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.2948, allocations: 29.7 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.2949, allocations: 314.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/0.295, allocations: 31.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.2951, allocations: 54.55 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.2952, allocations: 80.22 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2952, allocations: 3.938 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002467/0.2955, allocations: 155.3 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.2955, allocations: 35.58 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2956, allocations: 3.938 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2956, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.2956, allocations: 7.938 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2956, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.2958, allocations: 31.88 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2959, allocations: 12.05 kB / 1.092 GB, free: 12.9 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 8.496e-05/0.296, allocations: 117.8 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.296, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.296, allocations: 3.906 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.296, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.296, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.296, allocations: 3.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2962, allocations: 161.5 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2962, allocations: 4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.2962, allocations: 8.062 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2962, allocations: 0 / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2962, allocations: 7.984 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2962, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2962, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.2963, allocations: 81.06 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.2964, allocations: 81.3 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.2964, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.2964, allocations: 11.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.2965, allocations: 3.984 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2965, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.2965, allocations: 91.27 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2965, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002201/0.2968, allocations: 16 kB / 1.093 GB, free: 12.21 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.000114/0.2969, allocations: 103.2 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.2971, allocations: 123.4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2971, allocations: 4.125 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.2972, allocations: 23.92 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.2974, allocations: 11.88 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.2976, allocations: 126.2 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.2979, allocations: 0.6768 MB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.2979, allocations: 8.188 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.2979, allocations: 11.38 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2979, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of Templates: time 0.003308/0.3013, allocations: 1.082 MB / 1.095 GB, free: 9.98 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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