Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_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.009022/0.009022, allocations: 99.36 kB / 15.73 MB, free: 6.043 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.002089/0.002089, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 1.054 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3091, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001648/0.3107, allocations: 0.6022 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.312, allocations: 1.116 MB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.3121, allocations: 0 / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.3121, allocations: 3.938 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.3122, allocations: 7.922 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.3127, allocations: 113.9 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.3128, allocations: 107.8 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.3129, allocations: 7.984 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.313, allocations: 31.97 kB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.3131, allocations: 35.89 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3131, allocations: 12 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.3132, allocations: 19.98 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.3132, allocations: 7.984 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.3133, allocations: 27.86 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.3134, allocations: 83.84 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3134, allocations: 7.938 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3134, allocations: 0 / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3134, allocations: 0 / 1.209 GB, free: 8.023 MB / 0.9669 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.0004023/0.3138, allocations: 381.3 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3139, allocations: 16.56 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.3139, allocations: 34.73 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.314, allocations: 8.844 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3141, allocations: 164.4 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3141, allocations: 384 / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3141, allocations: 12.38 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.3142, allocations: 34.25 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3142, allocations: 3.938 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3142, allocations: 0 / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3143, allocations: 0 / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.3143, allocations: 15.98 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3147, allocations: 292.8 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.622e-05/0.3147, allocations: 30.52 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.3148, allocations: 16.91 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-06/0.3148, allocations: 0 / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3149, allocations: 63.39 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3149, allocations: 3.938 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001861/0.3151, allocations: 69.59 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3152, allocations: 51.41 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.3153, allocations: 113.8 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3153, allocations: 29.7 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.3153, allocations: 84.14 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.3154, allocations: 11.89 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.3154, allocations: 29.7 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.3155, allocations: 318.8 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.3156, allocations: 27.98 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.3157, allocations: 54.55 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.3158, allocations: 92.2 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3158, allocations: 0 / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000243/0.3161, allocations: 155.2 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.3161, allocations: 41.64 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3161, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3161, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/0.3162, allocations: 4 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3162, allocations: 7.922 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.3164, allocations: 23.97 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3164, allocations: 4.062 kB / 1.211 GB, free: 5.594 MB / 0.9669 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.849e-05/0.3165, allocations: 122.2 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.3165, allocations: 7.906 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.3166, allocations: 3.906 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3166, allocations: 3.984 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3166, allocations: 7.938 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3166, allocations: 240 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.3167, allocations: 161.6 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3167, allocations: 4 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.3167, allocations: 3.984 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3167, allocations: 7.984 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3167, allocations: 0 / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3168, allocations: 4 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3168, allocations: 3.984 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3169, allocations: 85.5 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.3169, allocations: 81.02 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3169, allocations: 3.984 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.317, allocations: 12 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.317, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.317, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.317, allocations: 87.27 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.317, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002172/0.3173, allocations: 20 kB / 1.212 GB, free: 4.883 MB / 0.9669 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.0003536/0.3176, allocations: 0.6319 MB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.3178, allocations: 115.4 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3178, allocations: 4 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.3179, allocations: 15.94 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.3181, allocations: 11.98 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3195, allocations: 1.402 MB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3197, allocations: 0.6807 MB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.3198, allocations: 3.984 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.3198, allocations: 15.44 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.3198, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.3369, allocations: 2.058 MB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.918, allocations: 4.109 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches