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.001491/0.00149, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001757/0.001757, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6527, allocations: 140.4 MB / 0.9492 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001739/0.6545, allocations: 0.6586 MB / 0.9499 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.6555, allocations: 1.114 MB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.6556, allocations: 0 / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.6556, allocations: 0 / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.6557, allocations: 9.297 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.6561, allocations: 107.8 kB / 0.9511 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.6562, allocations: 102.2 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.6563, allocations: 4.094 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.6564, allocations: 31.83 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.6564, allocations: 31.86 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.6565, allocations: 7.125 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.6565, allocations: 30.66 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.6566, allocations: 10.12 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.6566, allocations: 25.95 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.6567, allocations: 82.88 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6567, allocations: 1.219 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6567, allocations: 0 / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6568, allocations: 0 / 0.9514 GB, free: 7.391 MB / 0.7169 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.0003294/0.6571, allocations: 378.9 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.6571, allocations: 9.938 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.987e-05/0.6572, allocations: 36.08 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.6572, allocations: 12.38 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.186e-05/0.6573, allocations: 166.8 kB / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.6573, allocations: 2.688 kB / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.6573, allocations: 4.875 kB / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.947e-05/0.6574, allocations: 40.62 kB / 0.952 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6574, allocations: 11.88 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.6574, allocations: 3.938 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.6574, allocations: 5.266 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.724e-05/0.6575, allocations: 12.61 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.6578, allocations: 288.1 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/0.6578, allocations: 33.72 kB / 0.9524 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.6579, allocations: 8.734 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.6579, allocations: 0 / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.658, allocations: 71.89 kB / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.658, allocations: 0 / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001815/0.6582, allocations: 67.69 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.6582, allocations: 52.84 kB / 0.9526 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.6583, allocations: 110.3 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.6583, allocations: 31.05 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.6583, allocations: 88.34 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.6584, allocations: 17.44 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.6584, allocations: 28.98 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.6585, allocations: 316.2 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.6586, allocations: 32.36 kB / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.6586, allocations: 48.11 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.6587, allocations: 86.33 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6587, allocations: 0 / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002203/0.659, allocations: 157.8 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.659, allocations: 32.2 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.659, allocations: 1.062 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.659, allocations: 1.188 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.6591, allocations: 3.375 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6591, allocations: 3.984 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.6593, allocations: 28.44 kB / 0.9535 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.6593, allocations: 9.531 kB / 0.9535 GB, free: 5.25 MB / 0.7169 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 6.031e-05/0.6594, allocations: 118.2 kB / 0.9536 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.6594, allocations: 10.11 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.6594, allocations: 9.062 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6594, allocations: 1.188 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.6594, allocations: 0 / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6594, allocations: 7.875 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.697e-05/0.6595, allocations: 165.3 kB / 0.9538 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6595, allocations: 64 / 0.9538 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.6595, allocations: 6.156 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6595, allocations: 0 / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.6596, allocations: 5.062 kB / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.6596, allocations: 5.062 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6596, allocations: 0 / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.123e-05/0.6597, allocations: 85.34 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.6597, allocations: 86.5 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.6597, allocations: 1.25 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.6597, allocations: 1.25 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.6598, allocations: 1.125 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.6598, allocations: 5.25 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.395e-05/0.6598, allocations: 89.67 kB / 0.9541 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6598, allocations: 0 / 0.9541 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002044/0.66, allocations: 19.28 kB / 0.9541 GB, free: 4.609 MB / 0.7169 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.0002382/0.6603, allocations: 0.628 MB / 0.9547 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.6604, allocations: 130.3 kB / 0.9548 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6604, allocations: 0.7188 kB / 0.9548 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.6605, allocations: 17.02 kB / 0.9549 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.6607, allocations: 12.88 kB / 0.9549 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.6617, allocations: 1.395 MB / 0.9562 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.797e-05/0.6618, allocations: 0.6833 MB / 0.9569 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.6618, allocations: 2.625 kB / 0.9569 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.6618, allocations: 18.02 kB / 0.9569 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.6618, allocations: 0 / 0.9569 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.6821, allocations: 1.905 MB / 0.9588 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/0.6824, allocations: 221.1 kB / 0.959 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.595, allocations: 0 / 0.959 GB, free: 0.6328 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 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.mat","/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