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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001839/0.001839, allocations: 112.3 kB / 15.99 MB, free: 5.914 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.002062/0.002063, allocations: 190.2 kB / 16.91 MB, free: 5.758 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 58.94 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3333, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002209/0.3356, allocations: 0.6611 MB / 1.064 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3372, allocations: 1.12 MB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.3372, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.3373, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.3374, allocations: 3.938 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.3379, allocations: 112.5 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.3381, allocations: 103.8 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.3382, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.3383, allocations: 27.98 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.3384, allocations: 31.89 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.3384, allocations: 8 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.3385, allocations: 27.92 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.3385, allocations: 7.922 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.3386, allocations: 31.92 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3387, allocations: 63.88 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3387, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3387, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3387, allocations: 0 / 1.066 GB, free: 13.17 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.0004812/0.3392, allocations: 377.4 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3393, allocations: 12.03 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.3393, allocations: 4.938 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3395, allocations: 172.3 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3395, allocations: 4.375 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3395, allocations: 4.375 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3397, allocations: 46.25 kB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3397, allocations: 192 / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3397, allocations: 3.938 kB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3397, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.3397, allocations: 11.92 kB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.3401, allocations: 292.8 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.3402, allocations: 42.5 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.3403, allocations: 12.86 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.3403, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.3405, allocations: 67.31 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3405, allocations: 0 / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002064/0.3407, allocations: 65.69 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3407, allocations: 51.41 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.3408, allocations: 117.8 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3409, allocations: 25.7 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.3409, allocations: 92.12 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.341, allocations: 7.891 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.341, allocations: 33.64 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3412, allocations: 318.8 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.3412, allocations: 27.98 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.3413, allocations: 58.48 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3415, allocations: 88.33 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3415, allocations: 3.938 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002706/0.3418, allocations: 143.3 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.3418, allocations: 37.7 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3418, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.3418, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.3419, allocations: 11.98 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3419, allocations: 4 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.3421, allocations: 27.88 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3422, allocations: 4 kB / 1.068 GB, free: 10.77 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.666e-05/0.3423, allocations: 117.8 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.3423, allocations: 7.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.3423, allocations: 7.906 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3423, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3423, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3424, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.3425, allocations: 165.6 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3425, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.3425, allocations: 4 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3425, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3425, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3426, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3426, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.3427, allocations: 96.91 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.3427, allocations: 89.03 kB / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3428, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.3428, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.3428, allocations: 4 kB / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3428, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.3429, allocations: 87.27 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3429, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002228/0.3431, allocations: 20 kB / 1.069 GB, free: 10.08 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.0001506/0.3433, allocations: 107.2 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.3435, allocations: 127.3 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3435, allocations: 0 / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.3436, allocations: 12 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3438, allocations: 23.92 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.3442, allocations: 163.8 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3444, allocations: 0.6807 MB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.3444, allocations: 7.438 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.3444, allocations: 0 / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of Templates: time 0.002769/0.3472, allocations: 0.9335 MB / 1.071 GB, free: 7.969 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/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) Reference file matches