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.001207/0.001207, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.475/2.475, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 70.84 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3522, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001934/0.3542, allocations: 0.6184 MB / 1.088 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3557, allocations: 1.11 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.3558, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.3558, allocations: 3.938 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.3559, allocations: 7.922 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.3564, allocations: 120 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3566, allocations: 99.77 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3567, allocations: 11.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.3568, allocations: 35.97 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3569, allocations: 31.89 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.3569, allocations: 8 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.357, allocations: 23.98 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.357, allocations: 3.984 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.3571, allocations: 35.86 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3573, allocations: 87.66 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3573, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3573, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3573, allocations: 0 / 1.09 GB, free: 15.28 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.0005256/0.3579, allocations: 381.1 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3579, allocations: 8.031 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.358, allocations: 4.938 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3581, allocations: 172.3 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3581, allocations: 4.375 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.3582, allocations: 4.375 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.3583, allocations: 38.25 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3583, allocations: 192 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3583, allocations: 7.938 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3583, allocations: 4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.3584, allocations: 7.938 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.3588, allocations: 296.8 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.734e-05/0.3589, allocations: 26.52 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.3589, allocations: 12.92 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.359, allocations: 3.984 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.3591, allocations: 63.34 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3591, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000224/0.3594, allocations: 69.62 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3594, allocations: 63.39 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3595, allocations: 109.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.3596, allocations: 29.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.3597, allocations: 88.08 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3597, allocations: 7.953 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.3598, allocations: 33.7 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3599, allocations: 318.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.36, allocations: 27.98 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.3601, allocations: 54.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3602, allocations: 88.2 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3602, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002602/0.3605, allocations: 151.2 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.3605, allocations: 37.69 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3606, allocations: 8.062 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3606, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.3606, allocations: 7.938 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.3607, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3609, allocations: 28.03 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3609, allocations: 8.219 kB / 1.092 GB, free: 12.89 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 9.158e-05/0.361, allocations: 117.8 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.361, allocations: 7.953 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.361, allocations: 7.891 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.361, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3611, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3611, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3612, allocations: 165.6 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3612, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.3612, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3612, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3612, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3612, allocations: 3.984 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3613, allocations: 4 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.3614, allocations: 85 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.3614, allocations: 81.06 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3614, allocations: 8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.3615, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.3615, allocations: 7.984 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3615, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.3616, allocations: 87.28 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3616, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002061/0.3618, allocations: 19.92 kB / 1.093 GB, free: 12.19 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.0001691/0.362, allocations: 99.25 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.3622, allocations: 131.3 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3622, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.3623, allocations: 19.92 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.3625, allocations: 17.44 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.3628, allocations: 130.1 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3631, allocations: 0.6807 MB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.3631, allocations: 4.125 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.3632, allocations: 11.44 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3632, allocations: 3.938 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of Templates: time 0.00352/0.3667, allocations: 1.081 MB / 1.095 GB, free: 9.961 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