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.001231/0.001231, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 193.8 kB / 16.67 MB, free: 6.57 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7425 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.35, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002419/0.3524, allocations: 0.6048 MB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3544, allocations: 1.117 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3545, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.3545, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.3546, allocations: 3.938 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.3552, allocations: 126.8 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.3554, allocations: 91.83 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3555, allocations: 11.94 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.3556, allocations: 35.91 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3557, allocations: 39.88 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3558, allocations: 8 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.3558, allocations: 15.98 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.3559, allocations: 8 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.3559, allocations: 23.92 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3561, allocations: 83.78 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3561, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3561, allocations: 7.938 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3561, allocations: 4 kB / 1.223 GB, free: 11.68 MB / 0.9825 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.0005216/0.3566, allocations: 381 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3567, allocations: 12.03 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.3567, allocations: 8.922 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3569, allocations: 168.3 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3569, allocations: 4.375 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.3569, allocations: 8.375 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.3571, allocations: 46.19 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.3571, allocations: 192 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3571, allocations: 7.938 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3571, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.3571, allocations: 8 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.3576, allocations: 288.9 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/0.3577, allocations: 34.45 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.3577, allocations: 12.84 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.3577, allocations: 4.062 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.358, allocations: 59.39 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.358, allocations: 4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002262/0.3582, allocations: 69.58 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.3582, allocations: 51.41 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.3583, allocations: 113.8 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3583, allocations: 25.7 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.3584, allocations: 84.14 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.3584, allocations: 19.88 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3585, allocations: 29.7 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3586, allocations: 314.8 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.3587, allocations: 31.98 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.3588, allocations: 50.55 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3589, allocations: 88.22 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3589, allocations: 3.938 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002524/0.3592, allocations: 155.2 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.3592, allocations: 33.64 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3592, allocations: 4 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3593, allocations: 3.938 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.3593, allocations: 8 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3593, allocations: 0 / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.3595, allocations: 32.02 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3595, allocations: 4.234 kB / 1.225 GB, free: 9.281 MB / 0.9825 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.953e-05/0.3596, allocations: 119.4 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.3596, allocations: 4 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.3597, allocations: 7.891 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3597, allocations: 0 / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3597, allocations: 0 / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3597, allocations: 7.922 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3598, allocations: 173.6 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3598, allocations: 4.062 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.3598, allocations: 4 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3598, allocations: 3.984 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3598, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3598, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3598, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.36, allocations: 89.02 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.36, allocations: 81.11 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.36, allocations: 3.984 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/0.36, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.3601, allocations: 8 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3601, allocations: 0 / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.3601, allocations: 91.64 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3601, allocations: 0 / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002265/0.3604, allocations: 19.94 kB / 1.225 GB, free: 8.574 MB / 0.9825 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.000172/0.3605, allocations: 103.2 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.3608, allocations: 107.4 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3608, allocations: 4 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.3609, allocations: 15.92 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.3611, allocations: 18.22 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.3615, allocations: 137.8 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3619, allocations: 0.6808 MB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.3619, allocations: 8 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.3619, allocations: 11.38 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3619, allocations: 0 / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.003898/0.3658, allocations: 1.081 MB / 1.227 GB, free: 6.359 MB / 0.9825 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=480 -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/jenkins/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