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.00121/0.00121, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.195/1.195, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.376/2.376, allocations: 461.9 MB / 0.7346 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 73.64 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2187, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001637/0.2204, allocations: 0.6118 MB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2216, allocations: 1.116 MB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.2216, allocations: 0 / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.2216, allocations: 7.938 kB / 1.055 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.2217, allocations: 7.938 kB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.2221, allocations: 119.7 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.2222, allocations: 91.83 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.2223, allocations: 8 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.2224, allocations: 39.95 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.2224, allocations: 31.84 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.2225, allocations: 8 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.2225, allocations: 27.92 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.2226, allocations: 3.938 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.2226, allocations: 35.91 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.2227, allocations: 79.78 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2228, allocations: 0 / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2228, allocations: 4 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2228, allocations: 0 / 1.055 GB, free: 6.133 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.0003745/0.2231, allocations: 385.4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2232, allocations: 8.625 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.2232, allocations: 30.75 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.2233, allocations: 4.938 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.204e-05/0.2233, allocations: 164.4 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2234, allocations: 4.375 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.2234, allocations: 8.375 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.131e-05/0.2235, allocations: 38.25 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2235, allocations: 3.938 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.2235, allocations: 7.938 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2235, allocations: 0 / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.2235, allocations: 11.98 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.2239, allocations: 296.8 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.088e-05/0.2239, allocations: 26.5 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.224, allocations: 16.92 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.224, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.2241, allocations: 67.31 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2241, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001612/0.2243, allocations: 65.69 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.2243, allocations: 55.41 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.2244, allocations: 109.8 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.2244, allocations: 33.7 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.2245, allocations: 92.12 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.2245, allocations: 11.83 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.2246, allocations: 29.7 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.2247, allocations: 314.8 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.2247, allocations: 31.97 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.2248, allocations: 50.56 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2249, allocations: 92.14 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2249, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000223/0.2252, allocations: 151.2 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.2252, allocations: 37.7 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2252, allocations: 3.984 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2252, allocations: 3.938 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/0.2253, allocations: 8.062 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2253, allocations: 64 / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2255, allocations: 31.88 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2255, allocations: 4 kB / 1.057 GB, free: 3.699 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.307e-05/0.2256, allocations: 127.3 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.2256, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.2256, allocations: 3.906 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2256, allocations: 8 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2257, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2257, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.2258, allocations: 169.6 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2258, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.2258, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2258, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2258, allocations: 4 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2258, allocations: 3.938 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2258, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.2259, allocations: 92.95 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.226, allocations: 77.11 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.226, allocations: 8 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.338e-05/0.226, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.226, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.226, allocations: 7.984 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.2261, allocations: 83.28 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2261, allocations: 0 / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001939/0.2263, allocations: 16 kB / 1.058 GB, free: 3.012 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.0003279/0.2266, allocations: 0.6318 MB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.2268, allocations: 127.3 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2268, allocations: 0 / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.2269, allocations: 20.34 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.227, allocations: 8.125 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2282, allocations: 1.392 MB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.2285, allocations: 0.6846 MB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.2285, allocations: 4.344 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.2285, allocations: 19.38 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2285, allocations: 0 / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.313/1.541, allocations: 1.995 MB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/13.39, allocations: 6.469 kB / 1.062 GB, free: 14.1 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