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.0111/0.0111, allocations: 102.4 kB / 15.73 MB, free: 6.043 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.002555/0.002555, allocations: 199.3 kB / 16.68 MB, free: 5.961 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28/1.281, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002084/1.284, allocations: 0.5975 MB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001666/1.285, allocations: 1.12 MB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/1.285, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/1.285, allocations: 3.938 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/1.285, allocations: 3.938 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/1.286, allocations: 122.5 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000199/1.286, allocations: 99.88 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/1.286, allocations: 7.984 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/1.287, allocations: 39.86 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/1.287, allocations: 31.89 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/1.287, allocations: 8 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/1.287, allocations: 23.97 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/1.287, allocations: 4 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/1.287, allocations: 31.92 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/1.287, allocations: 79.78 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.287, allocations: 4 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/1.287, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.287, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 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.0005176/1.288, allocations: 385 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.288, allocations: 8.031 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/1.288, allocations: 8.938 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/1.288, allocations: 164.3 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/1.288, allocations: 12.31 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/1.288, allocations: 4.375 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.288, allocations: 46.19 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/1.288, allocations: 192 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.288, allocations: 3.938 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.288, allocations: 0 / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/1.288, allocations: 11.98 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/1.289, allocations: 286.7 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/1.289, allocations: 38.5 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/1.289, allocations: 16.86 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/1.289, allocations: 3.938 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/1.289, allocations: 63.38 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/1.289, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002238/1.289, allocations: 69.77 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.289, allocations: 63.34 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/1.289, allocations: 109.8 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/1.289, allocations: 25.7 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/1.289, allocations: 92.12 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/1.289, allocations: 7.906 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/1.289, allocations: 29.7 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.29, allocations: 314.8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/1.29, allocations: 27.98 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/1.29, allocations: 54.86 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.29, allocations: 88.2 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.29, allocations: 3.938 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002572/1.29, allocations: 147.3 kB / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/1.29, allocations: 33.7 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.29, allocations: 4.062 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.29, allocations: 4 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/1.29, allocations: 7.984 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.29, allocations: 80 / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/1.291, allocations: 31.81 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/1.291, allocations: 7.984 kB / 1.212 GB, free: 9.012 MB / 0.9356 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.999e-05/1.291, allocations: 117.8 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/1.291, allocations: 4 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/1.291, allocations: 15.83 kB / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.291, allocations: 0 / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.291, allocations: 4.062 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.291, allocations: 0 / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/1.291, allocations: 169.6 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.291, allocations: 0 / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/1.291, allocations: 7.938 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.291, allocations: 0 / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/1.291, allocations: 0 / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.291, allocations: 0 / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.291, allocations: 0 / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/1.291, allocations: 92.97 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/1.291, allocations: 81.09 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/1.291, allocations: 3.938 kB / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/1.291, allocations: 0 / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/1.291, allocations: 8 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/1.291, allocations: 0 / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.259e-05/1.291, allocations: 87.27 kB / 1.212 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/1.291, allocations: 4 kB / 1.212 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002224/1.291, allocations: 16 kB / 1.212 GB, free: 8.305 MB / 0.9356 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.0001538/1.292, allocations: 107.2 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002376/1.292, allocations: 127.4 kB / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.292, allocations: 0 / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/1.292, allocations: 15.94 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/1.292, allocations: 16.05 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/1.293, allocations: 130 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/1.293, allocations: 0.6807 MB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.564e-05/1.293, allocations: 4 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/1.293, allocations: 7.438 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.293, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.003962/1.297, allocations: 1.109 MB / 1.215 GB, free: 6.055 MB / 0.9356 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/jenkins/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