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.001918/0.001918, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001847/0.001846, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.433/1.433, allocations: 222.9 MB / 239.8 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.845/2.845, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 68.81 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4307, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002105/0.4329, allocations: 0.6532 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.4344, allocations: 1.131 MB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.4345, allocations: 4 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.4345, allocations: 3.938 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.4346, allocations: 3.984 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.435, allocations: 110.8 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.4351, allocations: 79.83 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.4352, allocations: 4 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.4353, allocations: 39.89 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/0.4354, allocations: 27.91 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.4354, allocations: 4 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.4355, allocations: 19.98 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.4355, allocations: 4 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.4356, allocations: 31.84 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.4357, allocations: 71.86 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4358, allocations: 4 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4358, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.4358, allocations: 3.938 kB / 1.054 GB, free: 6.668 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.0004768/0.4363, allocations: 389.2 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4363, allocations: 12.03 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.4364, allocations: 4.938 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4365, allocations: 164.4 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.4365, allocations: 4.375 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.4365, allocations: 8.375 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4367, allocations: 42.19 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4367, allocations: 192 / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4367, allocations: 3.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4367, allocations: 0 / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.4367, allocations: 11.98 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.4372, allocations: 296.8 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.4372, allocations: 38.44 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.4373, allocations: 12.92 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.4373, allocations: 0 / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.4375, allocations: 67.39 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4375, allocations: 0 / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001927/0.4377, allocations: 69.61 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.4377, allocations: 55.41 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.4378, allocations: 109.8 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4378, allocations: 25.7 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.4379, allocations: 96.03 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.4379, allocations: 7.906 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.438, allocations: 29.7 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4381, allocations: 318.8 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.4382, allocations: 35.97 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.631e-05/0.4383, allocations: 50.56 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.4384, allocations: 84.2 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.4384, allocations: 3.938 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002445/0.4386, allocations: 151.3 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.4387, allocations: 33.7 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4387, allocations: 4 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4387, allocations: 3.984 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.4388, allocations: 7.938 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4388, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.439, allocations: 23.97 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.4391, allocations: 8.062 kB / 1.056 GB, free: 4.27 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 8.949e-05/0.4392, allocations: 121.8 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.4392, allocations: 11.84 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.4392, allocations: 3.906 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.4392, allocations: 0 / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4392, allocations: 0 / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4392, allocations: 4 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.4394, allocations: 173.5 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4394, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.4394, allocations: 8 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4394, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.4394, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4394, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4394, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.4395, allocations: 89.11 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.4396, allocations: 85.02 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4396, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.711e-05/0.4396, allocations: 4 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.4397, allocations: 8 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.4397, allocations: 3.984 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.4397, allocations: 83.28 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4397, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002139/0.4399, allocations: 16 kB / 1.057 GB, free: 3.57 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.0001547/0.4401, allocations: 107.2 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.4403, allocations: 123.4 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4404, allocations: 4.125 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.4404, allocations: 15.94 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.4406, allocations: 21.92 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.441, allocations: 127.8 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.4413, allocations: 0.6809 MB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.4413, allocations: 4.25 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.4413, allocations: 11.44 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.4414, allocations: 0 / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.003204/0.4446, allocations: 1.031 MB / 1.059 GB, free: 1.398 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