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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004626/0.004626, allocations: 98.36 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.001312/0.001312, allocations: 200 kB / 16.68 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.504/2.504, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 71.88 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2756, allocations: 162.3 MB / 1.242 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001693/0.2773, allocations: 0.6022 MB / 1.242 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2787, allocations: 1.108 MB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.2787, allocations: 4 kB / 1.244 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.2788, allocations: 3.938 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.2788, allocations: 7.922 kB / 1.244 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.2792, allocations: 123.3 kB / 1.244 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2794, allocations: 95.83 kB / 1.244 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.127e-05/0.2795, allocations: 8 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.2795, allocations: 35.95 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.2796, allocations: 27.91 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2797, allocations: 8 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.2797, allocations: 19.98 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.2798, allocations: 19.91 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.2798, allocations: 31.86 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.28, allocations: 83.78 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.28, allocations: 0 / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.28, allocations: 0 / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.475e-06/0.28, allocations: 4 kB / 1.244 GB, free: 7.625 MB / 0.9981 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.000442/0.2804, allocations: 377 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2805, allocations: 12.03 kB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.2805, allocations: 30.75 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.2806, allocations: 8.891 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2807, allocations: 168.4 kB / 1.245 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2807, allocations: 4.375 kB / 1.245 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2807, allocations: 4.375 kB / 1.245 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.332e-05/0.2808, allocations: 42.25 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2808, allocations: 3.938 kB / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.2808, allocations: 3.938 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2809, allocations: 3.938 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.2809, allocations: 8 kB / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.2813, allocations: 292.8 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.801e-05/0.2813, allocations: 34.52 kB / 1.245 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.2814, allocations: 16.91 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.2814, allocations: 0 / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.2815, allocations: 63.34 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2815, allocations: 0 / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.2817, allocations: 65.86 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2817, allocations: 59.41 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.2818, allocations: 113.8 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.2819, allocations: 25.7 kB / 1.245 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.2819, allocations: 92.08 kB / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.2819, allocations: 19.83 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.282, allocations: 33.69 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2821, allocations: 310.8 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.2822, allocations: 31.98 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.2823, allocations: 54.56 kB / 1.246 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2824, allocations: 84.2 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2824, allocations: 3.938 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002374/0.2827, allocations: 151.3 kB / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.2827, allocations: 33.69 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.2827, allocations: 12.05 kB / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2827, allocations: 0 / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.2828, allocations: 4 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.2828, allocations: 0 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.283, allocations: 31.92 kB / 1.246 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.283, allocations: 7.984 kB / 1.246 GB, free: 5.184 MB / 0.9981 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 8.071e-05/0.2831, allocations: 117.8 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.2831, allocations: 8 kB / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.2831, allocations: 3.906 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2831, allocations: 0 / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2832, allocations: 0 / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2832, allocations: 0 / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2833, allocations: 169.6 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2833, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.2833, allocations: 4 kB / 1.246 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2833, allocations: 0 / 1.246 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.2833, allocations: 3.984 kB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2833, allocations: 3.938 kB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2833, allocations: 4.062 kB / 1.246 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2835, allocations: 93.02 kB / 1.246 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.2835, allocations: 81.05 kB / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.2835, allocations: 0 / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.2835, allocations: 0 / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.2836, allocations: 7.984 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2836, allocations: 4 kB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.2836, allocations: 87.28 kB / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2836, allocations: 0 / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001936/0.2838, allocations: 19.98 kB / 1.247 GB, free: 4.488 MB / 0.9981 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.0004078/0.2842, allocations: 0.6284 MB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.2845, allocations: 123.4 kB / 1.247 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2845, allocations: 4.125 kB / 1.247 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.2845, allocations: 19.94 kB / 1.247 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.2847, allocations: 17.81 kB / 1.247 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.286, allocations: 1.389 MB / 1.249 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.2863, allocations: 0.6846 MB / 1.249 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.2863, allocations: 4 kB / 1.249 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.2864, allocations: 15.42 kB / 1.249 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.2864, allocations: 0 / 1.249 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7024/0.9888, allocations: 2.012 MB / 1.251 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/8.287, allocations: 4.094 kB / 1.251 GB, free: 14.11 MB / 0.9981 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=400 --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