Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001545/0.001545, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001524/0.001524, allocations: 195.9 kB / 16.91 MB, free: 6.195 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.543/2.543, allocations: 469.8 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 64.77 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2987, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001767/0.3005, allocations: 0.6573 MB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3018, allocations: 1.12 MB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.3019, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.3019, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.302, allocations: 11.94 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.3024, allocations: 106.7 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3026, allocations: 95.83 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/0.3026, allocations: 8 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.3027, allocations: 39.95 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.999e-05/0.3028, allocations: 23.91 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3028, allocations: 8 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.3029, allocations: 19.98 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.3029, allocations: 8 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.303, allocations: 39.77 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3031, allocations: 59.89 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3031, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3031, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3031, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8419 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.0004442/0.3035, allocations: 377.4 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3036, allocations: 8.625 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3036, allocations: 4.938 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3038, allocations: 176.3 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3038, allocations: 384 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3038, allocations: 8.375 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.3039, allocations: 38.25 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3039, allocations: 192 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3039, allocations: 7.938 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3039, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.304, allocations: 15.94 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.3044, allocations: 292.8 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.342e-05/0.3044, allocations: 30.52 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.3045, allocations: 8.922 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.3045, allocations: 4 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.3046, allocations: 63.33 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3046, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001943/0.3048, allocations: 77.66 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.3049, allocations: 51.41 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.305, allocations: 109.8 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.305, allocations: 33.7 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.3051, allocations: 88.14 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.3051, allocations: 3.906 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.3051, allocations: 37.64 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3053, allocations: 318.8 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.3054, allocations: 35.98 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.3055, allocations: 50.5 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3056, allocations: 84.27 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3056, allocations: 3.938 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002537/0.3058, allocations: 151.3 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.3059, allocations: 37.69 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3059, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3059, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.306, allocations: 7.938 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.306, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3062, allocations: 31.94 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.3062, allocations: 11.98 kB / 1.068 GB, free: 10.52 MB / 0.8419 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.235e-05/0.3063, allocations: 117.8 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.3063, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.3064, allocations: 7.906 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3064, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3064, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3064, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.3065, allocations: 169.6 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3065, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.3065, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3066, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3066, allocations: 7.984 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3066, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3066, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.3067, allocations: 92.91 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.3068, allocations: 81.17 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3068, allocations: 8 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.3068, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.3068, allocations: 3.984 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.3068, allocations: 4 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.3069, allocations: 83.28 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3069, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002052/0.3071, allocations: 19.98 kB / 1.069 GB, free: 9.828 MB / 0.8419 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.0001312/0.3072, allocations: 111.8 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3075, allocations: 123.3 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3075, allocations: 7.938 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.3075, allocations: 15.98 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.3077, allocations: 9.312 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.308, allocations: 167.8 kB / 1.069 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3083, allocations: 0.6806 MB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.3083, allocations: 11.44 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3083, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of Templates: time 0.00261/0.3109, allocations: 0.928 MB / 1.071 GB, free: 7.715 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches