Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000977/0.000977, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001073/0.001073, allocations: 161 kB / 23.82 MB, free: 0.75 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.01/1.01, allocations: 177.2 MB / 204.2 MB, free: 5.625 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.821/1.821, allocations: 359 MB / 0.6052 GB, free: 11 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.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.753e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00133/0.001357, allocations: 0.6202 MB / 0.7877 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.00247, allocations: 1.165 MB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.002507, allocations: 0 / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.002531, allocations: 0 / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.002594, allocations: 13.5 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.00297, allocations: 119.6 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.003089, allocations: 91.83 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.003173, allocations: 9.188 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.003248, allocations: 47.97 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.003324, allocations: 23.95 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.003343, allocations: 8.625 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.003397, allocations: 25.39 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.003414, allocations: 3.938 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.003455, allocations: 23.97 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.00358, allocations: 71.84 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003582, allocations: 0.8438 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003583, allocations: 0 / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003587, allocations: 8.5 kB / 0.7892 GB, free: 10.27 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.0006112/0.004198, allocations: 402.3 kB / 0.7896 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004233, allocations: 16.66 kB / 0.7896 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.004278, allocations: 4.938 kB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.324e-05/0.004351, allocations: 117.5 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.004368, allocations: 4.375 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.004384, allocations: 5.031 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.853e-05/0.004463, allocations: 46.95 kB / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.004472, allocations: 1.188 kB / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.00448, allocations: 384 / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004487, allocations: 384 / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.004513, allocations: 19.17 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.004812, allocations: 287.7 kB / 0.7901 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.004859, allocations: 31.05 kB / 0.7901 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.004879, allocations: 11.75 kB / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.004887, allocations: 3.984 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.972e-05/0.004966, allocations: 69.05 kB / 0.7902 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.004967, allocations: 0 / 0.7902 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001569/0.005124, allocations: 70.23 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.005152, allocations: 55.41 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.005231, allocations: 171.6 kB / 0.7905 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.005244, allocations: 25.7 kB / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.005294, allocations: 134.9 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.005306, allocations: 7.953 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.005351, allocations: 36.7 kB / 0.7907 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.00546, allocations: 496.1 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.005525, allocations: 57.67 kB / 0.7912 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.005592, allocations: 84.75 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.005663, allocations: 86.28 kB / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005666, allocations: 0 / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001693/0.005835, allocations: 182.6 kB / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.005861, allocations: 37.64 kB / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005866, allocations: 400 / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.00588, allocations: 0 / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.005925, allocations: 16.86 kB / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.00593, allocations: 3.938 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.00604, allocations: 20.52 kB / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.006051, allocations: 4.531 kB / 0.7916 GB, free: 7.543 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: 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 6.132e-05/0.006113, allocations: 161.7 kB / 0.7918 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.006123, allocations: 15.94 kB / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.006147, allocations: 7.938 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006149, allocations: 0.5625 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.006153, allocations: 0.5312 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.006156, allocations: 1.375 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.333e-05/0.00622, allocations: 120.6 kB / 0.7919 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.00622, allocations: 0 / 0.7919 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/0.006229, allocations: 4 kB / 0.7919 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.00623, allocations: 1.156 kB / 0.7919 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.006235, allocations: 0 / 0.7919 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006236, allocations: 4 kB / 0.7919 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006238, allocations: 4.938 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.647e-05/0.006314, allocations: 100.4 kB / 0.792 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.00632, allocations: 3.953 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.006328, allocations: 1.594 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-06/0.006338, allocations: 7.938 kB / 0.7921 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.006361, allocations: 3.984 kB / 0.7921 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.006364, allocations: 0 / 0.7921 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.0064, allocations: 136.5 kB / 0.7922 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0064, allocations: 0 / 0.7922 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001389/0.006539, allocations: 12 kB / 0.7922 GB, free: 6.906 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: 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 9.588e-05/0.006635, allocations: 108.1 kB / 0.7923 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.006791, allocations: 151 kB / 0.7925 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.006792, allocations: 4 kB / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.006813, allocations: 11.69 kB / 0.7925 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.006959, allocations: 19.86 kB / 0.7925 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.007185, allocations: 134 kB / 0.7926 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.007216, allocations: 59.34 kB / 0.7927 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.649e-05/0.007232, allocations: 4 kB / 0.7927 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.007249, allocations: 16.44 kB / 0.7927 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.00725, allocations: 3.938 kB / 0.7927 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.002527/0.009777, allocations: 1.182 MB / 0.7938 GB, free: 5.199 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.226633081678301]