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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001971/0.001971, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.002457/0.002457, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.545/1.545, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 64.52 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3097, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002109/0.3118, allocations: 0.6048 MB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3133, allocations: 1.114 MB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.3134, allocations: 4 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.3135, allocations: 3.938 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.3135, allocations: 7.922 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.3141, allocations: 128.7 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3143, allocations: 99.77 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.3144, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.3145, allocations: 39.97 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.67e-05/0.3146, allocations: 27.89 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.3146, allocations: 8 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.3147, allocations: 23.98 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.3147, allocations: 4 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.3148, allocations: 35.84 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.3149, allocations: 79.86 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3149, allocations: 3.938 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-06/0.315, allocations: 0 / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.315, allocations: 0 / 1.02 GB, free: 8.488 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.00047/0.3154, allocations: 385.3 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3155, allocations: 12.03 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.3155, allocations: 4.938 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3157, allocations: 172.3 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3157, allocations: 384 / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3157, allocations: 8.375 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3158, allocations: 38.25 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3159, allocations: 192 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3159, allocations: 3.938 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3159, allocations: 0 / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.3159, allocations: 15.98 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.3164, allocations: 300.7 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.3165, allocations: 34.5 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.3165, allocations: 8.922 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.3165, allocations: 3.938 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.3166, allocations: 67.39 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3167, allocations: 0 / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002308/0.3169, allocations: 69.62 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3169, allocations: 51.41 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.317, allocations: 105.8 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3171, allocations: 33.7 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.3171, allocations: 88.03 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.3172, allocations: 11.91 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.3172, allocations: 29.7 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3174, allocations: 314.8 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.3175, allocations: 35.97 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.3176, allocations: 50.56 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.3177, allocations: 80.2 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3177, allocations: 3.938 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002544/0.318, allocations: 155.3 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.318, allocations: 33.7 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.318, allocations: 3.938 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3181, allocations: 3.984 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.3181, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3181, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3183, allocations: 27.88 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3184, allocations: 12.06 kB / 1.022 GB, free: 6.094 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 9.479e-05/0.3185, allocations: 125.7 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.3185, allocations: 0 / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.3185, allocations: 7.906 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3185, allocations: 4 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3185, allocations: 0 / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3186, allocations: 0 / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.3187, allocations: 169.8 kB / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3187, allocations: 0 / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.3187, allocations: 0 / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3187, allocations: 4 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3187, allocations: 8.047 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3187, allocations: 4 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3187, allocations: 0 / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.3189, allocations: 96.89 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.3189, allocations: 77.11 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3189, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.319, allocations: 4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.319, allocations: 7.938 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.319, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.319, allocations: 91.66 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.319, allocations: 0 / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002193/0.3193, allocations: 16 kB / 1.023 GB, free: 5.391 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.000141/0.3194, allocations: 107.2 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.3197, allocations: 127.3 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3197, allocations: 4.125 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.3197, allocations: 16 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.3199, allocations: 12.16 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.3203, allocations: 151.8 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.3206, allocations: 0.6807 MB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.3206, allocations: 15.38 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3206, allocations: 0 / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of Templates: time 0.002518/0.3231, allocations: 0.9251 MB / 1.025 GB, free: 3.285 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 -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