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.000859/0.000859, 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.0008778/0.0008778, 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.858/0.858, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.74/1.74, allocations: 389 MB / 0.633 GB, free: 12.68 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.495e-06/2.495e-06, allocations: 3.938 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/2.068e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001281/0.001302, allocations: 0.5985 MB / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002369, allocations: 1.136 MB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.002406, allocations: 0 / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.00243, allocations: 3.938 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.002484, allocations: 3.938 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.002877, allocations: 125 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.002998, allocations: 95.81 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.83e-05/0.003077, allocations: 7.984 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.003157, allocations: 47.97 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.00323, allocations: 31.83 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.00325, allocations: 8 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.77e-05/0.003297, allocations: 19.98 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.003315, allocations: 4 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.003357, allocations: 31.89 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.00349, allocations: 103.7 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.003492, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003494, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003497, allocations: 0 / 1.002 GB, free: 11.3 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.0003351/0.003832, allocations: 296 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.003869, allocations: 8.75 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.51e-05/0.003894, allocations: 38.75 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.003928, allocations: 8.891 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.464e-05/0.003992, allocations: 105.7 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.004009, allocations: 8.359 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.004022, allocations: 4.375 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.57e-05/0.004097, allocations: 42.25 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.004103, allocations: 192 / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.004111, allocations: 4.375 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.004116, allocations: 4.125 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.00415, allocations: 11.94 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.004477, allocations: 244 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.004528, allocations: 26.58 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.004546, allocations: 8.922 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.004553, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.004675, allocations: 75.27 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004676, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001573/0.004833, allocations: 77.62 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.004862, allocations: 51.41 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.004917, allocations: 109.8 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.004935, allocations: 33.7 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.004972, allocations: 88.12 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.004984, allocations: 15.84 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.005026, allocations: 29.7 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.005095, allocations: 314.8 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.00516, allocations: 65.62 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.005226, allocations: 84.31 kB / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.005302, allocations: 92.27 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005304, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001768/0.00548, allocations: 180.9 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.005506, allocations: 39.19 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.00551, allocations: 4 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.005521, allocations: 0 / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.005577, allocations: 7.938 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.005582, allocations: 0 / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.005704, allocations: 28.03 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.005716, allocations: 4 kB / 1.004 GB, free: 8.973 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 7.097e-05/0.005787, allocations: 125.8 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-06/0.005795, allocations: 8.125 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.005817, allocations: 11.98 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005818, allocations: 0 / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.005823, allocations: 4 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005826, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.895e-05/0.005895, allocations: 128.8 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005895, allocations: 0 / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-06/0.005904, allocations: 7.938 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005906, allocations: 0 / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.005912, allocations: 4 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.005914, allocations: 3.984 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005915, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.207e-05/0.005987, allocations: 81.06 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.005996, allocations: 15.89 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.006006, allocations: 0 / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-06/0.006014, allocations: 4 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.006037, allocations: 7.984 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.006041, allocations: 0 / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.006088, allocations: 87.28 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006088, allocations: 0 / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001435/0.006231, allocations: 23.92 kB / 1.004 GB, free: 8.391 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.0002519/0.006483, allocations: 0.6241 MB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.006668, allocations: 137.1 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006669, allocations: 0 / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.006691, allocations: 19.92 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.006833, allocations: 12.12 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.007862, allocations: 1.508 MB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.0079, allocations: 71.34 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.007916, allocations: 0 / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.007947, allocations: 20.58 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.007948, allocations: 3.938 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.02315, allocations: 2.764 MB / 1.009 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.489/6.513, allocations: 0 / 1.009 GB, free: 3.199 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 & /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 --stepSize=0.0016 --timeout=800 --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) [Timeout 840.0] 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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.431016488932073]