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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 157.3 kB / 23.55 MB, free: 0.8828 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.919/2.919, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.507e-05, allocations: 3.094 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001782/0.001817, allocations: 0.6186 MB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.003566, allocations: 1.144 MB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.003613, allocations: 0.5625 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.003635, allocations: 1.406 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.622e-05/0.003711, allocations: 7.875 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.004186, allocations: 124.6 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.004372, allocations: 91.83 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.004463, allocations: 7.984 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.004575, allocations: 49.52 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.004678, allocations: 23.91 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.004707, allocations: 8 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.738e-05/0.004784, allocations: 23.98 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.004803, allocations: 0.5938 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.004867, allocations: 31.95 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.005061, allocations: 105 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005063, allocations: 0 / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005064, allocations: 0 / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.005068, allocations: 1.219 kB / 0.7885 GB, free: 10.62 MB / 0.7448 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.0006714/0.005739, allocations: 405.9 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.00578, allocations: 8.031 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.005849, allocations: 13.81 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.005969, allocations: 112.6 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.005992, allocations: 4.375 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.006015, allocations: 9.203 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.95e-05/0.006115, allocations: 38.27 kB / 0.7891 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.006124, allocations: 2.656 kB / 0.7891 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.006135, allocations: 4.359 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.00614, allocations: 384 / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.006188, allocations: 15.88 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.006658, allocations: 279.8 kB / 0.7894 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/0.006738, allocations: 35.05 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.006767, allocations: 13.5 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.00678, allocations: 4 kB / 0.7894 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.006915, allocations: 72.98 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.006916, allocations: 0 / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002442/0.00716, allocations: 78.05 kB / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.007207, allocations: 51.41 kB / 0.7896 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.007376, allocations: 178.6 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.007406, allocations: 30.23 kB / 0.7898 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.007499, allocations: 134.9 kB / 0.7899 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.007515, allocations: 13.53 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.007593, allocations: 39.36 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002712/0.007865, allocations: 496.1 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.007989, allocations: 73.67 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.008125, allocations: 101.3 kB / 0.7906 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.008274, allocations: 93.55 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008276, allocations: 1.156 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003299/0.008606, allocations: 204.9 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.00865, allocations: 35.02 kB / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008655, allocations: 0 / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.008672, allocations: 11.92 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.008723, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.008732, allocations: 6.141 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.008909, allocations: 19.98 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.008932, allocations: 4 kB / 0.791 GB, free: 7.824 MB / 0.7448 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.0001427/0.009075, allocations: 173.7 kB / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.009086, allocations: 64 / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.009117, allocations: 15.94 kB / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009118, allocations: 1.312 kB / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.009121, allocations: 0 / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009124, allocations: 0 / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.00927, allocations: 120.6 kB / 0.7913 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.00927, allocations: 1.656 kB / 0.7913 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.009291, allocations: 8 kB / 0.7913 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009293, allocations: 0 / 0.7913 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.0093, allocations: 0 / 0.7913 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009303, allocations: 6.625 kB / 0.7913 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.009309, allocations: 7.922 kB / 0.7913 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.009458, allocations: 100.6 kB / 0.7914 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.009468, allocations: 4 kB / 0.7914 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.009487, allocations: 3.938 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.009507, allocations: 3.938 kB / 0.7914 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.009545, allocations: 7.984 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.00955, allocations: 0.5 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.397e-05/0.009634, allocations: 131.2 kB / 0.7916 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009634, allocations: 4.531 kB / 0.7916 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002256/0.00986, allocations: 21.92 kB / 0.7916 GB, free: 7.164 MB / 0.7448 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.0001508/0.01001, allocations: 99.25 kB / 0.7917 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.01033, allocations: 172.7 kB / 0.7918 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.01033, allocations: 6.594 kB / 0.7918 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.347e-05/0.01038, allocations: 19.69 kB / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.01057, allocations: 11.98 kB / 0.7919 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.0109, allocations: 142 kB / 0.792 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.031e-05/0.01097, allocations: 64.19 kB / 0.7921 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.01099, allocations: 7.984 kB / 0.7921 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.01102, allocations: 9.344 kB / 0.7921 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.01102, allocations: 0 / 0.7921 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of Templates: time 0.004397/0.01542, allocations: 1.189 MB / 0.7932 GB, free: 5.422 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.958047228050418]