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.001513/0.001513, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001945/0.001945, allocations: 169 kB / 23.82 MB, free: 0.7422 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.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.827/1.827, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.594e-06/2.594e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.732e-05, allocations: 3.562 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001462/0.00149, allocations: 0.6195 MB / 0.7877 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002638, allocations: 1.156 MB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.002674, allocations: 4.5 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.002702, allocations: 5.25 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.002763, allocations: 7.922 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.003133, allocations: 129.2 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.003251, allocations: 83.89 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.003331, allocations: 4 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.557e-05/0.003417, allocations: 59.81 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.003493, allocations: 21.19 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.003513, allocations: 8 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.292e-05/0.003566, allocations: 27.97 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.003582, allocations: 4.562 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.003628, allocations: 27.98 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.003766, allocations: 77.23 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003769, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00377, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.003775, allocations: 0 / 0.7892 GB, free: 10.3 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.0003757/0.00415, allocations: 403 kB / 0.7896 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.004189, allocations: 8.938 kB / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.004235, allocations: 12.86 kB / 0.7897 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.004316, allocations: 116.5 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.004336, allocations: 5.031 kB / 0.7898 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.004351, allocations: 4.375 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.257e-05/0.004444, allocations: 51.98 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004452, allocations: 192 / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.004461, allocations: 3.594 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.004469, allocations: 384 / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.004495, allocations: 7.938 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.004829, allocations: 283.7 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.004881, allocations: 31.06 kB / 0.7901 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.004899, allocations: 15.69 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.004907, allocations: 3.984 kB / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.843e-05/0.005005, allocations: 61.05 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.005006, allocations: 0.7188 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.005177, allocations: 77.5 kB / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.005204, allocations: 57.06 kB / 0.7903 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.005287, allocations: 165.9 kB / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.005303, allocations: 25.7 kB / 0.7905 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.005352, allocations: 134.9 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.005362, allocations: 9.578 kB / 0.7907 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.005409, allocations: 39.34 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003778/0.005787, allocations: 496.1 kB / 0.7912 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.005854, allocations: 53.69 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.005918, allocations: 86.08 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.72e-05/0.005995, allocations: 92.75 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.005999, allocations: 5.594 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001811/0.00618, allocations: 169 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.006211, allocations: 45.62 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006216, allocations: 0 / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.006232, allocations: 5.688 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.006282, allocations: 0 / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.006288, allocations: 4.391 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.006401, allocations: 20.88 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.006414, allocations: 4 kB / 0.7916 GB, free: 7.594 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 7.252e-05/0.006486, allocations: 172.9 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.006496, allocations: 4.531 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.006521, allocations: 9.094 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.006527, allocations: 7.984 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.00653, allocations: 240 / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006533, allocations: 0 / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.777e-05/0.006611, allocations: 125.1 kB / 0.7919 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.006613, allocations: 4.516 kB / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.006632, allocations: 4 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006634, allocations: 1.375 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.00664, allocations: 0 / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.006641, allocations: 3.938 kB / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.006644, allocations: 5.156 kB / 0.792 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.214e-05/0.006736, allocations: 92.36 kB / 0.792 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.006742, allocations: 3.953 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.006752, allocations: 4.938 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.006763, allocations: 3.938 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.006785, allocations: 4 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.006789, allocations: 4.812 kB / 0.7921 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.00683, allocations: 131.2 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00683, allocations: 0.9375 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001414/0.006971, allocations: 20 kB / 0.7922 GB, free: 6.941 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.000118/0.007089, allocations: 108.5 kB / 0.7923 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.007258, allocations: 144.7 kB / 0.7925 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00726, allocations: 0.9062 kB / 0.7925 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.007284, allocations: 19.67 kB / 0.7925 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.007446, allocations: 14.31 kB / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.007704, allocations: 134.2 kB / 0.7926 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.858e-05/0.007733, allocations: 51.36 kB / 0.7927 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.64e-05/0.007749, allocations: 4 kB / 0.7927 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.007768, allocations: 19.92 kB / 0.7927 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.007769, allocations: 0 / 0.7927 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of Templates: time 0.002758/0.01053, allocations: 1.192 MB / 0.7939 GB, free: 5.242 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3326727147214115]