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.001128/0.001128, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.0101/0.0101, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.945/2.945, allocations: 462.7 MB / 0.7364 GB, free: 244 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 10.22 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3797, allocations: 159.6 MB / 1.059 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0009845/0.3808, allocations: 337.9 kB / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3827, allocations: 1.127 MB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.3828, allocations: 3.938 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.3828, allocations: 0 / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.3829, allocations: 3.938 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.3835, allocations: 103.8 kB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3836, allocations: 87.75 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3838, allocations: 8 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.3839, allocations: 23.98 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.384, allocations: 23.91 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.384, allocations: 4 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.469e-05/0.3841, allocations: 23.97 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.3841, allocations: 7.984 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.3842, allocations: 53.56 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3844, allocations: 79.83 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3844, allocations: 0 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.258e-06/0.3844, allocations: 0 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3844, allocations: 7.938 kB / 1.06 GB, free: 3.527 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.0004816/0.3849, allocations: 361.4 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.385, allocations: 8.031 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.3851, allocations: 12.78 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.3852, allocations: 164.4 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.3853, allocations: 12.3 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3853, allocations: 12.36 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3854, allocations: 38.25 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3855, allocations: 4.188 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3855, allocations: 3.938 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3855, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.3856, allocations: 8 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.3861, allocations: 296.8 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.3862, allocations: 30.45 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.3863, allocations: 12.92 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.3863, allocations: 4 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3865, allocations: 63.3 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.3865, allocations: 0 / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002647/0.3867, allocations: 77.61 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.3868, allocations: 51.41 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3869, allocations: 113.8 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.387, allocations: 29.7 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.3871, allocations: 88.14 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.3871, allocations: 7.906 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.3871, allocations: 17.72 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3873, allocations: 318.8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.3874, allocations: 31.98 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3875, allocations: 50.56 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3877, allocations: 84.2 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3877, allocations: 3.938 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003012/0.388, allocations: 155.2 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.3881, allocations: 39.09 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3881, allocations: 0 / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3881, allocations: 0 / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.3882, allocations: 7.938 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3882, allocations: 0 / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3885, allocations: 36.03 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3885, allocations: 15.98 kB / 1.063 GB, free: 1.145 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 0.0001383/0.3886, allocations: 115.3 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.3887, allocations: 7.844 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.3887, allocations: 15.91 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3887, allocations: 3.938 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3887, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3887, allocations: 3.984 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3889, allocations: 161.6 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3889, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.389, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.389, allocations: 4 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.389, allocations: 7.984 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.389, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.389, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.3891, allocations: 89.34 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.3892, allocations: 89.02 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3893, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.3893, allocations: 3.984 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3893, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3893, allocations: 7.938 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.3894, allocations: 87.27 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3894, allocations: 4 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002346/0.3897, allocations: 16 kB / 1.063 GB, free: 452 kB / 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.0002356/0.3899, allocations: 103.2 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3902, allocations: 119.4 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3902, allocations: 4 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.3902, allocations: 15.92 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3905, allocations: 20.08 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.3909, allocations: 138.6 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3913, allocations: 0.6809 MB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.3913, allocations: 4.25 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.3913, allocations: 7.438 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of SimCode: time 6.82e-07/0.3913, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of Templates: time 0.004144/0.3955, allocations: 1.017 MB / 1.065 GB, free: 14.28 MB / 0.8262 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