Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007175/0.007175, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.002063/0.002063, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.856/2.856, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.34 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001621/0.308, allocations: 0.6101 MB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3094, allocations: 1.11 MB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.3094, allocations: 0 / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.3095, allocations: 3.938 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.3095, allocations: 7.922 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.31, allocations: 135.4 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3101, allocations: 87.83 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.159e-05/0.3102, allocations: 12 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.089e-05/0.3103, allocations: 39.89 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.3104, allocations: 35.89 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.3104, allocations: 8 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.429e-05/0.3105, allocations: 16 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.3105, allocations: 11.97 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.3106, allocations: 31.86 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3107, allocations: 83.78 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3107, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3107, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3108, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 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.0004617/0.3112, allocations: 389 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3113, allocations: 8.031 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.3113, allocations: 34.75 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.3114, allocations: 8.922 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3115, allocations: 164.3 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3115, allocations: 4.375 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3115, allocations: 4.375 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.3116, allocations: 42.19 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3116, allocations: 3.938 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3116, allocations: 8 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3117, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.3117, allocations: 11.98 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.3121, allocations: 284.9 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.3122, allocations: 30.45 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.3122, allocations: 16.91 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.3122, allocations: 8 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.3123, allocations: 55.39 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3124, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001901/0.3126, allocations: 73.72 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3126, allocations: 51.41 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.3127, allocations: 109.8 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3127, allocations: 29.7 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.3128, allocations: 96.06 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3128, allocations: 15.88 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.3129, allocations: 29.7 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.313, allocations: 314.8 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.3131, allocations: 31.98 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.3132, allocations: 54.84 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.3134, allocations: 92.16 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3134, allocations: 8.047 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002749/0.3136, allocations: 151.2 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.3137, allocations: 33.7 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3137, allocations: 0 / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3137, allocations: 0 / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/0.3138, allocations: 4 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3138, allocations: 4.062 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.314, allocations: 36.02 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.314, allocations: 8 kB / 1.224 GB, free: 9.672 MB / 0.9825 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.097e-05/0.3141, allocations: 117.8 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-06/0.3141, allocations: 0 / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.3142, allocations: 7.906 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3142, allocations: 0 / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3142, allocations: 3.984 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3142, allocations: 0 / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.3143, allocations: 177.5 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3143, allocations: 0 / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.3144, allocations: 3.984 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3144, allocations: 4 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.3144, allocations: 0 / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3144, allocations: 0 / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3144, allocations: 0 / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.3145, allocations: 81.06 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.3146, allocations: 89.06 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3146, allocations: 3.984 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.457e-05/0.3146, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.3146, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3147, allocations: 8 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.3147, allocations: 83.27 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3147, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002246/0.3149, allocations: 20 kB / 1.225 GB, free: 8.98 MB / 0.9825 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.000442/0.3154, allocations: 0.6284 MB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3156, allocations: 127.3 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3156, allocations: 7.875 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.3157, allocations: 12 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.3159, allocations: 11.98 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3174, allocations: 1.406 MB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.3177, allocations: 0.6807 MB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.3177, allocations: 3.984 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.3178, allocations: 15.44 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.3178, allocations: 0 / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.34, allocations: 2.012 MB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.076, allocations: 7.875 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches