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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001372/0.001372, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001381/0.001382, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.551/2.551, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.84 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3379, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001899/0.3399, allocations: 0.6232 MB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3412, allocations: 1.111 MB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.3413, allocations: 0 / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.3413, allocations: 0 / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.3414, allocations: 7.938 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.3419, allocations: 123.2 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.342, allocations: 107.7 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3421, allocations: 8 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.3422, allocations: 27.98 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3423, allocations: 39.88 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3423, allocations: 8 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.159e-05/0.3424, allocations: 19.98 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.3424, allocations: 8.016 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.3425, allocations: 35.84 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.3427, allocations: 87.7 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3427, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3427, allocations: 4 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.3427, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 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.0004207/0.3431, allocations: 377.1 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3431, allocations: 8.031 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.3432, allocations: 4.938 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.538e-05/0.3433, allocations: 172.3 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3433, allocations: 4.359 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3434, allocations: 8.375 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.373e-05/0.3434, allocations: 38.25 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3435, allocations: 4.188 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.3435, allocations: 3.938 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3435, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.632e-05/0.3435, allocations: 12 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3439, allocations: 296.7 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.959e-05/0.3439, allocations: 34.5 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.344, allocations: 8.922 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.344, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.3441, allocations: 63.39 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3441, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.3443, allocations: 73.61 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.3444, allocations: 51.41 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.3444, allocations: 109.8 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3445, allocations: 33.7 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.3445, allocations: 84.14 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.3445, allocations: 11.91 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.3446, allocations: 33.64 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.3447, allocations: 314.8 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.3448, allocations: 31.98 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.3449, allocations: 54.56 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.345, allocations: 84.2 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.345, allocations: 3.938 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002372/0.3452, allocations: 151.3 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.3453, allocations: 40.19 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3453, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3453, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.3454, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3454, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.3456, allocations: 31.94 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.3456, allocations: 8 kB / 1.031 GB, free: 13.49 MB / 0.8106 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.232e-05/0.3457, allocations: 133.6 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.3457, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.3457, allocations: 7.906 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3457, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3458, allocations: 4 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3458, allocations: 4 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3459, allocations: 165.6 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3459, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.3459, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3459, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3459, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3459, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3459, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.346, allocations: 96.89 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.3461, allocations: 81.11 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.3461, allocations: 4.062 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/0.3461, allocations: 4 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.3462, allocations: 0 / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3462, allocations: 3.984 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.3462, allocations: 87.28 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3462, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002131/0.3464, allocations: 16 kB / 1.032 GB, free: 12.79 MB / 0.8106 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.0001456/0.3466, allocations: 111.2 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.3468, allocations: 127.3 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3468, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.3469, allocations: 8.375 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.3471, allocations: 23.86 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.3473, allocations: 126.1 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3476, allocations: 0.6847 MB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.3476, allocations: 11.89 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.3476, allocations: 7.438 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3476, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of Templates: time 0.003311/0.351, allocations: 1.074 MB / 1.034 GB, free: 10.55 MB / 0.8106 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 -s gbode -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