Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.0009476/0.0009476, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009102/0.0009102, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9758/0.9758, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.438/2.438, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.115e-06/3.115e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.411e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001389/0.001423, allocations: 0.6179 MB / 0.8903 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.002804, allocations: 1.147 MB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.00285, allocations: 0 / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.002877, allocations: 0 / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.002958, allocations: 19.86 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.003346, allocations: 115.6 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.003469, allocations: 91.81 kB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.003555, allocations: 4 kB / 0.8917 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.874e-05/0.003643, allocations: 47.91 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.003739, allocations: 35.88 kB / 0.8918 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.003762, allocations: 12 kB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.003822, allocations: 12 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.003843, allocations: 11.98 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.003877, allocations: 19.98 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.004012, allocations: 83.75 kB / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.004016, allocations: 0 / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.733e-06/0.004018, allocations: 0 / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.004023, allocations: 0 / 0.8919 GB, free: 7.547 MB / 0.8542 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.0004302/0.004454, allocations: 406.2 kB / 0.8923 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.004505, allocations: 12.03 kB / 0.8923 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.004551, allocations: 8.938 kB / 0.8923 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.69e-05/0.004648, allocations: 120.5 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.004665, allocations: 4.375 kB / 0.8924 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.004678, allocations: 8.375 kB / 0.8924 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.138e-05/0.004769, allocations: 46.95 kB / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.004778, allocations: 192 / 0.8925 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004787, allocations: 4.359 kB / 0.8925 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.004794, allocations: 384 / 0.8925 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.004819, allocations: 7.938 kB / 0.8925 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.005134, allocations: 268.3 kB / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.485e-05/0.005189, allocations: 38.98 kB / 0.8928 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.005203, allocations: 11.69 kB / 0.8928 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.078e-06/0.005212, allocations: 4.062 kB / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.005315, allocations: 65.03 kB / 0.8928 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.005317, allocations: 3.938 kB / 0.8929 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001637/0.00548, allocations: 61.7 kB / 0.8929 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.005521, allocations: 59.41 kB / 0.893 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.005619, allocations: 169.9 kB / 0.8931 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.005637, allocations: 25.7 kB / 0.8932 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.005696, allocations: 134.9 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.005712, allocations: 11.94 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.005757, allocations: 35.36 kB / 0.8933 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.005884, allocations: 0.4884 MB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.005937, allocations: 53.67 kB / 0.8939 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.00599, allocations: 72.8 kB / 0.8939 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/0.006059, allocations: 84.69 kB / 0.894 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006061, allocations: 0 / 0.894 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001613/0.006222, allocations: 176.9 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.006253, allocations: 33.7 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.006259, allocations: 4.062 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.006272, allocations: 7.938 kB / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.006319, allocations: 0 / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.006323, allocations: 4 kB / 0.8942 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.006432, allocations: 19.97 kB / 0.8942 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.006444, allocations: 8 kB / 0.8942 GB, free: 4.855 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/0.006533, allocations: 164.5 kB / 0.8944 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.006542, allocations: 4 kB / 0.8944 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.006573, allocations: 11.98 kB / 0.8944 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.006576, allocations: 7.938 kB / 0.8944 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.006579, allocations: 4 kB / 0.8944 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006582, allocations: 0 / 0.8944 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.513e-05/0.006657, allocations: 97.33 kB / 0.8945 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.00666, allocations: 3.984 kB / 0.8945 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.006674, allocations: 4 kB / 0.8945 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.006676, allocations: 0 / 0.8945 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.00668, allocations: 0 / 0.8945 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006682, allocations: 0 / 0.8945 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006683, allocations: 0 / 0.8945 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.687e-05/0.006779, allocations: 96.27 kB / 0.8946 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.006788, allocations: 15.92 kB / 0.8946 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-06/0.006796, allocations: 0 / 0.8946 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.006807, allocations: 4 kB / 0.8946 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.00683, allocations: 7.938 kB / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.006833, allocations: 0 / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.006877, allocations: 131.2 kB / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006877, allocations: 0 / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001324/0.007009, allocations: 16 kB / 0.8948 GB, free: 4.23 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001082/0.007117, allocations: 99.19 kB / 0.8949 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.007255, allocations: 148.7 kB / 0.895 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007257, allocations: 0 / 0.895 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.007276, allocations: 19.67 kB / 0.895 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.007433, allocations: 4 kB / 0.895 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.007668, allocations: 142.1 kB / 0.8952 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.924e-05/0.007697, allocations: 55.36 kB / 0.8952 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.007715, allocations: 256 / 0.8952 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.007789, allocations: 90.17 kB / 0.8953 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of SimCode: time 6.92e-07/0.00779, allocations: 4.125 kB / 0.8953 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of Templates: time 0.002934/0.01072, allocations: 1.319 MB / 0.8966 GB, free: 2.305 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.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.3379460498690605]