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.001689/0.001689, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002987/0.002988, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 461.9 MB / 0.7343 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 60.3 kB / 0.8986 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4372, allocations: 157.4 MB / 1.052 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002009/0.4392, allocations: 0.6533 MB / 1.053 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.4409, allocations: 1.12 MB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.4409, allocations: 0 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.441, allocations: 0 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.4411, allocations: 11.92 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.4416, allocations: 107.4 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.4417, allocations: 103.8 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.4419, allocations: 8 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.4419, allocations: 27.98 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.442, allocations: 31.89 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.4421, allocations: 8 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.4421, allocations: 19.98 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.4422, allocations: 11.92 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.4422, allocations: 31.92 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.4424, allocations: 87.78 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4424, allocations: 0 / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4424, allocations: 0 / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4424, allocations: 0 / 1.054 GB, free: 6.551 MB / 0.8106 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.0005848/0.443, allocations: 381.2 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4431, allocations: 12.03 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.4431, allocations: 4.938 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4433, allocations: 168.4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4433, allocations: 8.375 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.4433, allocations: 12.31 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.4434, allocations: 38.25 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4434, allocations: 4.188 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4435, allocations: 3.938 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.4435, allocations: 0 / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.252e-05/0.4435, allocations: 4 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.444, allocations: 304.7 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.444, allocations: 34.52 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.4441, allocations: 8.922 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.4441, allocations: 0 / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.4443, allocations: 63.39 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4443, allocations: 0 / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002367/0.4445, allocations: 77.59 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4446, allocations: 55.41 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.4448, allocations: 113.8 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.4448, allocations: 25.7 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.4449, allocations: 92.05 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.4449, allocations: 3.906 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.445, allocations: 33.7 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4451, allocations: 322.8 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.4452, allocations: 31.92 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.4453, allocations: 50.56 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.4454, allocations: 88.2 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4454, allocations: 3.938 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002503/0.4457, allocations: 143.3 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.4457, allocations: 41.69 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4457, allocations: 64 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4458, allocations: 8 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.4458, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4458, allocations: 4 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.446, allocations: 27.91 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.4461, allocations: 7.984 kB / 1.057 GB, free: 4.148 MB / 0.8106 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.504e-05/0.4462, allocations: 119.3 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.4462, allocations: 7.906 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.4462, allocations: 11.91 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4462, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4462, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4462, allocations: 3.984 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.4464, allocations: 169.5 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4464, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.4464, allocations: 4 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.4464, allocations: 0 / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.4464, allocations: 3.984 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4464, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4464, allocations: 64 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.4467, allocations: 97 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.4467, allocations: 85.02 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4467, allocations: 0 / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.4468, allocations: 3.984 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.4468, allocations: 4 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4468, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.4468, allocations: 83.28 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4469, allocations: 4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003576/0.4472, allocations: 19.98 kB / 1.057 GB, free: 3.445 MB / 0.8106 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.0001438/0.4474, allocations: 99.25 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.4476, allocations: 131.2 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4476, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.4477, allocations: 15.98 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.4479, allocations: 12.06 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.4482, allocations: 138 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.4485, allocations: 0.6768 MB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.4485, allocations: 4 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.4485, allocations: 11.44 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.4485, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of Templates: time 0.003584/0.4521, allocations: 1.071 MB / 1.059 GB, free: 1.238 MB / 0.8106 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