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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009287/0.0009287, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001198/0.001198, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.921/2.921, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 8.469 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3802, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008988/0.3812, allocations: 322 kB / 1.058 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3828, allocations: 1.089 MB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.3828, allocations: 0 / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.3829, allocations: 3.938 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.41e-05/0.3829, allocations: 7.984 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.3834, allocations: 113.7 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3835, allocations: 63.89 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.3836, allocations: 11.94 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.3837, allocations: 27.97 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.3838, allocations: 23.89 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3838, allocations: 8 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.876e-05/0.3839, allocations: 15.98 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.3839, allocations: 8 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.384, allocations: 37.64 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.3841, allocations: 55.86 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3841, allocations: 0 / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3841, allocations: 0 / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.3841, allocations: 0 / 1.06 GB, free: 3.516 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.0004388/0.3846, allocations: 365.2 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3846, allocations: 8.031 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.3847, allocations: 15.89 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3848, allocations: 163.1 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.3849, allocations: 4 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.3849, allocations: 7.953 kB / 1.06 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.637e-05/0.385, allocations: 41.69 kB / 1.06 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.385, allocations: 3.938 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.385, allocations: 0 / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.385, allocations: 0 / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.3851, allocations: 11.88 kB / 1.06 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3855, allocations: 300.8 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.787e-05/0.3856, allocations: 30.58 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.3856, allocations: 12.91 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.3856, allocations: 3.984 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3858, allocations: 63.33 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3858, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002392/0.386, allocations: 69.59 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3861, allocations: 59.41 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.3862, allocations: 109.8 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3862, allocations: 25.7 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.3863, allocations: 88.14 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3863, allocations: 11.89 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.3863, allocations: 0 / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3864, allocations: 318.8 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3865, allocations: 31.92 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.3866, allocations: 54.56 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/0.3867, allocations: 57.69 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3867, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002512/0.387, allocations: 151.2 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.387, allocations: 39.41 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.387, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3871, allocations: 4.062 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.3871, allocations: 4 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3871, allocations: 4 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3874, allocations: 31.97 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.3874, allocations: 11.98 kB / 1.062 GB, free: 1.203 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,booToInt.y,$PRE.booPul.y,booPul.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.3875, allocations: 125.7 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.3875, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.3876, allocations: 7.906 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3876, allocations: 0 / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3876, allocations: 4 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3876, allocations: 3.938 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.3877, allocations: 169.6 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3877, allocations: 8 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.3878, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3878, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.3878, allocations: 4 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3878, allocations: 11.92 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3878, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.3879, allocations: 81.12 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.388, allocations: 81.06 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.388, allocations: 0 / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.388, allocations: 4 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.388, allocations: 7.922 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.388, allocations: 4 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.3881, allocations: 87.67 kB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3881, allocations: 0 / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002145/0.3883, allocations: 19.98 kB / 1.062 GB, free: 0.4961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001702/0.3885, allocations: 99.48 kB / 1.062 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3887, allocations: 123.4 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3887, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.3888, allocations: 20.05 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.389, allocations: 8 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.3893, allocations: 138.6 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.3896, allocations: 0.677 MB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.3896, allocations: 4.469 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.872e-05/0.3897, allocations: 19.38 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3897, allocations: 0 / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.004275/0.3939, allocations: 0.9897 MB / 1.064 GB, free: 14.36 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