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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_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.01687/0.01687, allocations: 99.88 kB / 15.73 MB, free: 6.062 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.002909/0.002909, allocations: 195.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.669/2.669, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.344/4.344, allocations: 390.3 MB / 0.6648 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 63.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341/1.344, allocations: 140.4 MB / 1.087 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001786/1.346, allocations: 0.6174 MB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001627/1.348, allocations: 1.104 MB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/1.348, allocations: 5.094 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/1.348, allocations: 4.594 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/1.348, allocations: 5.609 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/1.348, allocations: 124.2 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/1.349, allocations: 95.06 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/1.349, allocations: 4.922 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/1.349, allocations: 42.38 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/1.349, allocations: 32.19 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/1.349, allocations: 7.688 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/1.349, allocations: 25.47 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/1.349, allocations: 7.406 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/1.349, allocations: 30.91 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/1.349, allocations: 79.31 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.349, allocations: 5.062 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.365e-06/1.349, allocations: 0 / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.349, allocations: 0 / 1.09 GB, free: 3.824 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.0004474/1.35, allocations: 381.2 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.35, allocations: 9.469 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/1.35, allocations: 32.88 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/1.35, allocations: 5.406 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.791e-05/1.35, allocations: 167.8 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/1.35, allocations: 7.141 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/1.35, allocations: 9.156 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/1.35, allocations: 40.25 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/1.35, allocations: 3.938 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/1.35, allocations: 5.125 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.35, allocations: 0 / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/1.35, allocations: 7.391 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/1.351, allocations: 294.2 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/1.351, allocations: 33.7 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/1.351, allocations: 18.28 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/1.351, allocations: 0 / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/1.351, allocations: 63.89 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/1.351, allocations: 0 / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002199/1.351, allocations: 69.52 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/1.351, allocations: 60.47 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/1.351, allocations: 114.4 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/1.351, allocations: 27.61 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/1.351, allocations: 92.45 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/1.352, allocations: 10.5 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/1.352, allocations: 30.22 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/1.352, allocations: 318.1 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/1.352, allocations: 28.84 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/1.352, allocations: 54.2 kB / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/1.352, allocations: 89.34 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.352, allocations: 0 / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002629/1.352, allocations: 153.8 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.352, allocations: 38.69 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.352, allocations: 0.6875 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.352, allocations: 6.516 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/1.352, allocations: 3.516 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.352, allocations: 1.125 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/1.353, allocations: 25.08 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/1.353, allocations: 5.078 kB / 1.092 GB, free: 1.793 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 7.669e-05/1.353, allocations: 119.8 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/1.353, allocations: 6.359 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/1.353, allocations: 9.406 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.353, allocations: 1.656 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.353, allocations: 0 / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.353, allocations: 1.062 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/1.353, allocations: 167.2 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.353, allocations: 0.7969 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/1.353, allocations: 5.875 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/1.353, allocations: 1.578 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.353, allocations: 5 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.353, allocations: 0.7188 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.353, allocations: 4.969 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/1.353, allocations: 86.8 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/1.353, allocations: 83.11 kB / 1.092 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/1.353, allocations: 2.297 kB / 1.092 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/1.353, allocations: 8.5 kB / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/1.353, allocations: 3.391 kB / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/1.353, allocations: 2.156 kB / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.063e-05/1.353, allocations: 86.58 kB / 1.092 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.353, allocations: 4 kB / 1.092 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002483/1.353, allocations: 15.92 kB / 1.092 GB, free: 1.176 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.0003514/1.354, allocations: 0.6287 MB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002722/1.354, allocations: 126.9 kB / 1.093 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.354, allocations: 128 / 1.093 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/1.354, allocations: 14.81 kB / 1.093 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/1.354, allocations: 10.48 kB / 1.093 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/1.356, allocations: 1.392 MB / 1.094 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.356, allocations: 0.684 MB / 1.095 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.961e-05/1.356, allocations: 6.641 kB / 1.095 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/1.356, allocations: 15.53 kB / 1.095 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.356, allocations: 0 / 1.095 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/1.379, allocations: 2.007 MB / 1.097 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/9.539, allocations: 11.25 kB / 1.097 GB, free: 14.07 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/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