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.001188/0.001188, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001202/0.001202, allocations: 192.3 kB / 16.26 MB, free: 6.625 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.398/2.398, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.8 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2213, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001565/0.2228, allocations: 0.6649 MB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2239, allocations: 1.123 MB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.224, allocations: 0 / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.224, allocations: 4 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.2241, allocations: 7.875 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.2245, allocations: 106.8 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2246, allocations: 103.8 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/0.2247, allocations: 4 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.2247, allocations: 35.97 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.2248, allocations: 23.91 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2248, allocations: 8 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.656e-05/0.2249, allocations: 19.98 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.2249, allocations: 15.92 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.2249, allocations: 23.92 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.2251, allocations: 95.72 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2251, allocations: 0 / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2251, allocations: 0 / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2251, allocations: 4 kB / 1.055 GB, free: 6.418 MB / 0.8106 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.0003468/0.2254, allocations: 377.4 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2255, allocations: 12.62 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.2255, allocations: 30.75 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.2255, allocations: 4.938 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.2256, allocations: 164.4 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2257, allocations: 4.375 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.2257, allocations: 8.375 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.2258, allocations: 42.25 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2258, allocations: 3.938 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.2258, allocations: 0 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2258, allocations: 3.984 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.2258, allocations: 11.94 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.2261, allocations: 292.8 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.136e-05/0.2262, allocations: 38.5 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.2262, allocations: 12.92 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.2262, allocations: 0 / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.2264, allocations: 67.33 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2264, allocations: 0 / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001596/0.2265, allocations: 61.69 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2266, allocations: 63.39 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.2266, allocations: 117.7 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2267, allocations: 33.69 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.2267, allocations: 80.14 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.2267, allocations: 11.91 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.2268, allocations: 29.7 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.2269, allocations: 310.8 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.2269, allocations: 39.91 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.227, allocations: 54.56 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.2271, allocations: 92.08 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2271, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002152/0.2273, allocations: 147.3 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.2274, allocations: 33.69 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2274, allocations: 8.062 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2274, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.14e-05/0.2275, allocations: 8.172 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2275, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.2277, allocations: 31.88 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2277, allocations: 4 kB / 1.057 GB, free: 3.984 MB / 0.8106 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.429e-05/0.2278, allocations: 123.3 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.2278, allocations: 7.984 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.2278, allocations: 7.906 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2278, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2278, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2278, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.219e-05/0.2279, allocations: 165.6 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2279, allocations: 4.062 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.2279, allocations: 4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2279, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.228, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.228, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.228, allocations: 4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.634e-05/0.2281, allocations: 96.89 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.2281, allocations: 77.11 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.2281, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.2281, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.2282, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.2282, allocations: 7.984 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.2282, allocations: 83.28 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2282, allocations: 4 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001914/0.2284, allocations: 16 kB / 1.057 GB, free: 3.289 MB / 0.8106 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.0003051/0.2287, allocations: 0.6279 MB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.2289, allocations: 123.4 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2289, allocations: 4.125 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.229, allocations: 27.86 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.2291, allocations: 11.94 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2303, allocations: 1.387 MB / 1.059 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2304, allocations: 0.6846 MB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.2305, allocations: 256 / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.2305, allocations: 15.44 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2305, allocations: 0 / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.497/3.727, allocations: 1.921 MB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/3.728, allocations: 219.8 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/6.672, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 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