Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007964/0.0007964, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007862/0.0007862, allocations: 177.9 kB / 23.22 MB, free: 1.344 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 0.9053/0.9053, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.8 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.974e-05/4.224e-05, allocations: 5.656 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001336/0.001379, allocations: 0.6024 MB / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.002551, allocations: 1.139 MB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.002596, allocations: 0 / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.00263, allocations: 3.938 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.299e-05/0.002703, allocations: 3.984 kB / 0.9839 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.00311, allocations: 117.5 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003246, allocations: 91.83 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.003339, allocations: 4 kB / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.003426, allocations: 55.88 kB / 0.9841 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.003513, allocations: 27.97 kB / 0.9842 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.003537, allocations: 8 kB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.003606, allocations: 23.97 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.003628, allocations: 7.984 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.003678, allocations: 23.88 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.003846, allocations: 99.77 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003849, allocations: 0 / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.954e-06/0.003851, allocations: 0 / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.003855, allocations: 0 / 0.9843 GB, free: 15.87 MB / 0.948 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.000409/0.004265, allocations: 311.9 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.004303, allocations: 8.031 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.004347, allocations: 8.938 kB / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.00443, allocations: 113.7 kB / 0.9847 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.004451, allocations: 8.375 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.004466, allocations: 8.312 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.004552, allocations: 38.25 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.00456, allocations: 192 / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.00457, allocations: 4.375 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.004574, allocations: 384 / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.004614, allocations: 11.92 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.004932, allocations: 228.5 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.00499, allocations: 26.52 kB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.00501, allocations: 16.91 kB / 0.9851 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.005019, allocations: 0 / 0.9851 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.005147, allocations: 67.39 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.005148, allocations: 0 / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001724/0.005321, allocations: 69.56 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.005356, allocations: 59.41 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.005423, allocations: 109.8 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.005442, allocations: 25.7 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.005484, allocations: 88.14 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.005496, allocations: 15.94 kB / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.00554, allocations: 29.7 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.005629, allocations: 314.8 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.005698, allocations: 57.69 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.005767, allocations: 84.25 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.005849, allocations: 84.2 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.005852, allocations: 0 / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00019/0.006042, allocations: 177 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.006076, allocations: 45.69 kB / 0.9862 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.006082, allocations: 8.062 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.006095, allocations: 4 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.006154, allocations: 0 / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.006159, allocations: 0 / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.00629, allocations: 35.86 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.006303, allocations: 8.219 kB / 0.9863 GB, free: 13.61 MB / 0.948 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 7.056e-05/0.006374, allocations: 121.7 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-06/0.006381, allocations: 4 kB / 0.9864 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.006405, allocations: 15.92 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006407, allocations: 3.938 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.006412, allocations: 0 / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.006415, allocations: 0 / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.513e-05/0.006491, allocations: 113.3 kB / 0.9865 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006492, allocations: 0 / 0.9865 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.006506, allocations: 7.984 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006508, allocations: 0 / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.006515, allocations: 4 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006517, allocations: 3.938 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006518, allocations: 0 / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.883e-05/0.006607, allocations: 89.08 kB / 0.9866 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-06/0.006612, allocations: 0 / 0.9866 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.006625, allocations: 7.922 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.00664, allocations: 7.938 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.006667, allocations: 0 / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.006672, allocations: 0 / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.006704, allocations: 95.64 kB / 0.9867 GB, free: 13.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006704, allocations: 0 / 0.9867 GB, free: 13.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001453/0.00685, allocations: 16 kB / 0.9868 GB, free: 13.07 MB / 0.948 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.0001208/0.00697, allocations: 103.2 kB / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.007149, allocations: 145 kB / 0.987 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.007151, allocations: 0 / 0.987 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.007178, allocations: 12 kB / 0.987 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.007337, allocations: 11.98 kB / 0.987 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.007604, allocations: 146.6 kB / 0.9872 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.007646, allocations: 63.34 kB / 0.9872 GB, free: 12.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.007666, allocations: 12.62 kB / 0.9872 GB, free: 12.5 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.007666, allocations: 4 kB / 0.9872 GB, free: 12.5 MB / 0.948 GB Notification: Performance of Templates: time 0.001962/0.009628, allocations: 0.9577 MB / 0.9882 GB, free: 11.55 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.522542911581695]