Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001776/0.001776, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001504/0.001504, allocations: 191 kB / 17.29 MB, free: 5.516 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 68.2 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3242, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002197/0.3264, allocations: 0.6046 MB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.328, allocations: 1.11 MB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.3281, allocations: 4 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.3281, allocations: 3.938 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.3282, allocations: 3.938 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.3287, allocations: 124.7 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.3289, allocations: 111.7 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.329, allocations: 4 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.3291, allocations: 31.98 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.3293, allocations: 35.88 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.3293, allocations: 8 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.232e-05/0.3294, allocations: 19.98 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.3294, allocations: 4 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.3295, allocations: 35.84 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3297, allocations: 87.72 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3297, allocations: 0 / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3297, allocations: 0 / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.3297, allocations: 4 kB / 1.021 GB, free: 7.648 MB / 0.795 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.0005175/0.3302, allocations: 381 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3303, allocations: 12.03 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.3303, allocations: 4.938 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3305, allocations: 168.4 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3305, allocations: 8.312 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3305, allocations: 12.38 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3307, allocations: 42.23 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3307, allocations: 192 / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3307, allocations: 7.922 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3307, allocations: 0 / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.3308, allocations: 11.94 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.3312, allocations: 292.8 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.3313, allocations: 38.5 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.3313, allocations: 12.92 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3313, allocations: 0 / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.3315, allocations: 63.33 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3315, allocations: 0 / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002629/0.3318, allocations: 61.69 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.3318, allocations: 59.39 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.332, allocations: 113.8 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.332, allocations: 25.7 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.3321, allocations: 92.05 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3321, allocations: 3.906 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.3322, allocations: 29.7 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3324, allocations: 318.8 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.3325, allocations: 31.97 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.3326, allocations: 54.5 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3327, allocations: 88.2 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3327, allocations: 3.938 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002652/0.333, allocations: 147.4 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.333, allocations: 41.69 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.333, allocations: 0 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3331, allocations: 4.062 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.3331, allocations: 7.938 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3331, allocations: 4 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3334, allocations: 27.88 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3334, allocations: 4 kB / 1.023 GB, free: 5.25 MB / 0.795 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.0001073/0.3335, allocations: 122.4 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.3335, allocations: 4 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.3335, allocations: 3.906 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3336, allocations: 4 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3336, allocations: 0 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3336, allocations: 0 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3337, allocations: 173.6 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3337, allocations: 0 / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.3337, allocations: 4 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3338, allocations: 3.938 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3338, allocations: 0 / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3338, allocations: 0 / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3338, allocations: 0 / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.3339, allocations: 97.12 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.334, allocations: 85.14 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.334, allocations: 0 / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.641e-05/0.334, allocations: 4 kB / 1.023 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.334, allocations: 4 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3341, allocations: 0 / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.3341, allocations: 83.27 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3341, allocations: 0 / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002136/0.3343, allocations: 24 kB / 1.024 GB, free: 4.551 MB / 0.795 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.0001685/0.3345, allocations: 103.2 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3348, allocations: 127.3 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3348, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/0.3348, allocations: 15.94 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.3351, allocations: 11.92 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.3354, allocations: 134.2 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3358, allocations: 0.6807 MB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.262e-05/0.3358, allocations: 0 / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.3359, allocations: 11.44 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3359, allocations: 3.938 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of Templates: time 0.003908/0.3398, allocations: 1.07 MB / 1.026 GB, free: 2.34 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches