Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005783/0.005783, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001111/0.001111, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 61.56 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3689, allocations: 140.4 MB / 1.088 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002358/0.3713, allocations: 0.6125 MB / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3732, allocations: 1.11 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.3733, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.3734, allocations: 3.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3735, allocations: 7.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.3743, allocations: 131 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3746, allocations: 99.81 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3748, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.3749, allocations: 31.97 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3751, allocations: 39.89 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.3751, allocations: 12 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3752, allocations: 15.98 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.3753, allocations: 11.98 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.3754, allocations: 27.86 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.3756, allocations: 87.72 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3756, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.657e-06/0.3756, allocations: 3.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3757, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 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.0007683/0.3764, allocations: 381.1 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.3765, allocations: 12.03 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.3766, allocations: 8.938 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3768, allocations: 168.3 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.3768, allocations: 4.375 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.3769, allocations: 4.375 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.377, allocations: 38.25 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3771, allocations: 192 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3771, allocations: 7.938 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3771, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.793e-05/0.3772, allocations: 11.94 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.3778, allocations: 300.8 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3779, allocations: 30.52 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.378, allocations: 8.859 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.378, allocations: 4.062 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.3783, allocations: 63.33 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 3.507e-06/0.3783, allocations: 7.984 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002839/0.3786, allocations: 65.67 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3786, allocations: 51.41 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3788, allocations: 117.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.3788, allocations: 25.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.3789, allocations: 84.14 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3789, allocations: 7.906 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.379, allocations: 29.7 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3792, allocations: 322.8 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.3793, allocations: 31.98 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.3794, allocations: 54.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3795, allocations: 88.2 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3795, allocations: 3.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002896/0.3798, allocations: 147.3 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.3799, allocations: 37.69 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3799, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3799, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.38, allocations: 3.938 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.38, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.3802, allocations: 31.88 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.3803, allocations: 12.38 kB / 1.092 GB, free: 12.97 MB / 0.8575 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 0.0001332/0.3804, allocations: 117.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.3804, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.3805, allocations: 11.91 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3805, allocations: 3.938 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3805, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3805, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.3807, allocations: 165.6 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3807, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.3807, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3807, allocations: 4 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3807, allocations: 8 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3808, allocations: 3.984 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3808, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.3809, allocations: 92.89 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.381, allocations: 81.11 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.381, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.381, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.3811, allocations: 3.984 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3811, allocations: 8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.3811, allocations: 83.28 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3812, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002206/0.3814, allocations: 16 kB / 1.093 GB, free: 12.27 MB / 0.8575 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.0002032/0.3816, allocations: 115.2 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.3819, allocations: 127.3 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3819, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.3819, allocations: 20.06 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.3822, allocations: 11.92 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.3826, allocations: 122.2 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.383, allocations: 0.6845 MB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.383, allocations: 4.234 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.383, allocations: 15.38 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.383, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of Templates: time 0.004344/0.3874, allocations: 1.11 MB / 1.095 GB, free: 10.02 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches