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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001538/0.001538, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001595/0.001595, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.389/1.389, 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.0.1-master/package.mo): time 2.735/2.735, allocations: 469.4 MB / 0.7424 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.98 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2981, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001854/0.3, allocations: 0.6651 MB / 1.064 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3015, allocations: 1.116 MB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.3016, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.3016, allocations: 3.938 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.3017, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.3022, allocations: 111.2 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.3024, allocations: 99.81 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.3025, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.3026, allocations: 39.91 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.3026, allocations: 31.89 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3027, allocations: 8 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.3028, allocations: 23.98 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3028, allocations: 3.938 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.3028, allocations: 31.91 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.303, allocations: 63.88 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.303, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.973e-06/0.303, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.303, allocations: 4 kB / 1.066 GB, free: 13.18 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.000446/0.3034, allocations: 373.4 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3035, allocations: 15.97 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.3035, allocations: 4.938 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3037, allocations: 172.3 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3037, allocations: 4.375 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.3037, allocations: 8.375 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.3038, allocations: 46.19 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3039, allocations: 192 / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3039, allocations: 3.938 kB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3039, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.922e-05/0.3039, allocations: 8 kB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.3043, allocations: 292.8 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.3044, allocations: 38.52 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.3044, allocations: 16.86 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.3044, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.3046, allocations: 59.39 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.3046, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.3048, allocations: 65.67 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3049, allocations: 59.34 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.305, allocations: 117.8 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.305, allocations: 25.7 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.305, allocations: 88.08 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3051, allocations: 11.89 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.3051, allocations: 29.7 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.3052, allocations: 318.8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.3053, allocations: 31.98 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.394e-05/0.3054, allocations: 54.62 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3055, allocations: 88.2 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3055, allocations: 3.938 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002449/0.3058, allocations: 143.3 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.3058, allocations: 37.69 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3059, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3059, allocations: 8.062 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-05/0.3059, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3059, allocations: 4.391 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3062, allocations: 31.88 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.3062, allocations: 7.984 kB / 1.068 GB, free: 10.79 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 8.463e-05/0.3063, allocations: 123.7 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.3063, allocations: 4 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.3063, allocations: 7.906 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3063, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3064, allocations: 3.938 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3064, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.3065, allocations: 169.6 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3065, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.3065, allocations: 7.938 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3065, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3065, allocations: 240 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.3065, allocations: 3.984 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3065, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3067, allocations: 92.95 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.3067, allocations: 81.11 kB / 1.068 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3067, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.652e-05/0.3068, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.3068, allocations: 7.984 kB / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.3068, allocations: 4 kB / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.3069, allocations: 83.22 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3069, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002223/0.3071, allocations: 27.98 kB / 1.069 GB, free: 10.08 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.0001292/0.3072, allocations: 103.2 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3075, allocations: 123.4 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3075, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.3075, allocations: 19.92 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.3077, allocations: 7.938 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.308, allocations: 171.7 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3083, allocations: 0.6807 MB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.3083, allocations: 7.438 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3083, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of Templates: time 0.00255/0.3109, allocations: 0.9226 MB / 1.071 GB, free: 7.984 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches