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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 110.4 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 195.4 kB / 16.91 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.55/2.55, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 69.44 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2921, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001711/0.2938, allocations: 0.659 MB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.2952, allocations: 1.127 MB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.2953, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.2953, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2954, allocations: 3.938 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.2958, allocations: 110.9 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.296, allocations: 95.83 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.456e-05/0.2961, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.823e-05/0.2961, allocations: 39.95 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.2962, allocations: 27.91 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2962, allocations: 8 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.2963, allocations: 23.92 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.2963, allocations: 11.94 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.2964, allocations: 31.91 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.2965, allocations: 59.88 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2965, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2965, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2965, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 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.0004537/0.297, allocations: 377.4 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.297, allocations: 12.62 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.2971, allocations: 4.938 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2972, allocations: 172.3 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2972, allocations: 8.375 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.2972, allocations: 4.375 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.675e-05/0.2973, allocations: 38.25 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2974, allocations: 4.188 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2974, allocations: 3.938 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2974, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.2974, allocations: 11.94 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.2978, allocations: 292.8 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.13e-05/0.2979, allocations: 42.45 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.2979, allocations: 12.92 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.2979, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.2981, allocations: 67.31 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2981, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001843/0.2983, allocations: 65.67 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.2983, allocations: 55.41 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.2984, allocations: 121.7 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.2985, allocations: 29.64 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.2985, allocations: 84.14 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.2985, allocations: 7.906 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.2986, allocations: 29.7 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2987, allocations: 318.8 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.2988, allocations: 31.98 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.2989, allocations: 54.5 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.299, allocations: 88.33 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.2991, allocations: 3.938 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002508/0.2993, allocations: 143.3 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.2994, allocations: 37.69 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2994, allocations: 4.062 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2994, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.2994, allocations: 3.938 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2994, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.2996, allocations: 31.88 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.2997, allocations: 7.984 kB / 1.068 GB, free: 10.51 MB / 0.8419 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 9.283e-05/0.2998, allocations: 116 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.2998, allocations: 12 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.2998, allocations: 3.906 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2998, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2998, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2998, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.3, allocations: 165.6 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.3, allocations: 4 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3, allocations: 4 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3, allocations: 3.984 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.3001, allocations: 88.91 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.3002, allocations: 81.11 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.3002, allocations: 3.938 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.3002, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.3003, allocations: 7.984 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.3003, allocations: 3.938 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.3003, allocations: 91.27 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3003, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002022/0.3005, allocations: 19.98 kB / 1.069 GB, free: 9.816 MB / 0.8419 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.0001248/0.3007, allocations: 103.2 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.3009, allocations: 127.3 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3009, allocations: 0 / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.3009, allocations: 15.98 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.3011, allocations: 16.06 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.3014, allocations: 171.5 kB / 1.069 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3017, allocations: 0.6807 MB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.3017, allocations: 7.438 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3017, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of Templates: time 0.002579/0.3043, allocations: 0.9225 MB / 1.071 GB, free: 7.711 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches