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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000768/0.000768, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007848/0.0007848, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9005/0.9005, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 3.938 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.546e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001302/0.001327, allocations: 0.5985 MB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002417, allocations: 1.124 MB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.002459, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.002486, allocations: 7.875 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.002549, allocations: 15.91 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.002962, allocations: 114.9 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.003093, allocations: 99.8 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.003178, allocations: 0 / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.003257, allocations: 51.95 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.003335, allocations: 23.95 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.003354, allocations: 11.94 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.003407, allocations: 23.94 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.003425, allocations: 7.969 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.003466, allocations: 27.98 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.003618, allocations: 103.7 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003621, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.292e-06/0.003622, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003627, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 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.0003659/0.003992, allocations: 300 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.004033, allocations: 8.75 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.004058, allocations: 34.75 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.004093, allocations: 8.891 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.004168, allocations: 117.7 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.004186, allocations: 4.375 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.004199, allocations: 8.375 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.831e-05/0.004277, allocations: 38.25 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.004283, allocations: 4.188 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.00429, allocations: 384 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004296, allocations: 8.062 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.004331, allocations: 12 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.004645, allocations: 244 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.004698, allocations: 26.58 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.004715, allocations: 4.859 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.004723, allocations: 8.062 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.004872, allocations: 71.27 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.004873, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.005044, allocations: 73.62 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.005077, allocations: 55.41 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.00514, allocations: 105.8 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.005158, allocations: 33.7 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.005195, allocations: 80.14 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.005209, allocations: 15.91 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.005252, allocations: 33.64 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.005325, allocations: 322.7 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.005394, allocations: 65.69 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.005459, allocations: 84.25 kB / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.005537, allocations: 80.27 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005539, allocations: 0 / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001849/0.005724, allocations: 180.9 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.005754, allocations: 43.5 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.005759, allocations: 0 / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.005772, allocations: 4 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.00582, allocations: 4.062 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.005826, allocations: 4.391 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.005949, allocations: 23.97 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.005962, allocations: 7.984 kB / 1.004 GB, free: 8.996 MB / 0.9636 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.707e-05/0.006029, allocations: 121.8 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.006038, allocations: 11.89 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.006061, allocations: 8 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.006063, allocations: 0 / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006067, allocations: 4 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.00607, allocations: 0 / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.107e-05/0.006152, allocations: 132.7 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006153, allocations: 240 / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.006167, allocations: 8 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.006171, allocations: 7.984 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.006177, allocations: 0 / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.006178, allocations: 0 / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006181, allocations: 7.922 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.121e-05/0.006262, allocations: 81.12 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.006272, allocations: 11.89 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.006282, allocations: 8 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.006294, allocations: 3.984 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.006317, allocations: 0 / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.006324, allocations: 4 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.006355, allocations: 87.27 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006355, allocations: 0 / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001501/0.006505, allocations: 16 kB / 1.004 GB, free: 8.414 MB / 0.9636 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.0002938/0.006799, allocations: 0.628 MB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.006966, allocations: 133.1 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.006968, allocations: 4.125 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.006991, allocations: 19.92 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.007155, allocations: 15.94 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.008348, allocations: 1.504 MB / 1.007 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.008387, allocations: 67.34 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.008414, allocations: 4 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.008449, allocations: 16.48 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of SimCode: time 9.52e-07/0.00845, allocations: 7.938 kB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.02709, allocations: 2.76 MB / 1.009 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.873, allocations: 11.08 kB / 1.009 GB, free: 3.215 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booToRea.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv. Warning: Get data of variable booToRea.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.049350981600583]